Skip to content

Commit

Permalink
Fixed URL output
Browse files Browse the repository at this point in the history
  • Loading branch information
thorsten committed Jun 30, 2010
1 parent 43bcb96 commit f4ec637
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions phpmyfaq/feed/latest/rss.php
Expand Up @@ -72,9 +72,9 @@
$link = str_replace($_SERVER['PHP_SELF'], '/index.php', $item['url']);
if (PMF_RSS_USE_SEO) {
if (isset($item['thema'])) {
$oLink = new PMF_Link($link);
$oLink = new PMF_Link($link);
$oLink->itemTitle = $item['thema'];
$link = $oLink->toString();
$link = html_entity_decode($oLink->toString());
}
}
// Get the content
Expand Down
6 changes: 3 additions & 3 deletions phpmyfaq/feed/news/rss.php
Expand Up @@ -73,12 +73,12 @@
if ($num > 0) {
foreach ($rssData as $item) {
// Get the url
$link = '/index.php?action=news&newsid='.$item['id'].'&newslang='.$item['lang'];
$link = '/index.php?action=news&newsid=' . $item['id'] . '&newslang=' . $item['lang'];
if (PMF_RSS_USE_SEO) {
if (isset($item['header'])) {
$oLink = new PMF_Link($link);
$oLink = new PMF_Link($link);
$oLink->itemTitle = $item['header'];
$link = $oLink->toString();
$link = $oLink->toString();
}
}

Expand Down
4 changes: 2 additions & 2 deletions phpmyfaq/feed/topten/rss.php
Expand Up @@ -75,9 +75,9 @@
$link = str_replace($_SERVER['PHP_SELF'], '/index.php', $item['url']);
if (PMF_RSS_USE_SEO) {
if (isset($item['thema'])) {
$oLink = new PMF_Link($link);
$oLink = new PMF_Link($link);
$oLink->itemTitle = $item['thema'];
$link = $oLink->toString();
$link = html_entity_decode($oLink->toString());
}
}

Expand Down

0 comments on commit f4ec637

Please sign in to comment.