Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> General/Other Stuff
Author Message
Susann
Moderator



Joined: Dec 19, 2004
Posts: 3191
Location: Germany:Moderator German NukeSentinel Support

PostPosted: Mon Mar 07, 2005 4:28 pm Reply with quote

I use Sage and I´ m wondering why the news here are shown as article-935-html. But my own articles are shown as modules.php?name=news..... Confused
I use GT Next Gen.

How can I change this to article.html ? Only in the backend.php ?



Code:
while ($row = $db->sql_fetchrow($result)) {

    echo "<item>\n";
    echo "<title>".htmlspecialchars($row[title])."</title>\n";
    echo "<link>$nukeurl/modules.php?name=News&amp;file=article&amp;sid=$row[sid]</link>\n";
    echo "</item>\n\n";
}
echo "</channel>\n";
echo "</rss>";

?>
 
View user's profile Send private message
Susann







PostPosted: Tue Mar 08, 2005 6:02 am Reply with quote

I have a valid RSS feed.There is no problem.


Think it works, if I change the backend.php.

echo "<link>$nukeurl/modules.php?name=News&amp;file=article&amp;sid=$row[sid]</link>\n";

to something like this

echo "<link>$nukeurl/article.html &amp;sid=$row[sid]</link>\n";

but I still have a problem with the sid. How can I change this link.

Thanks for help.
 
Susann







PostPosted: Wed Mar 09, 2005 6:26 pm Reply with quote

Ok, I have read Ravens RSS News Feed several times and found the answer to this problem.

It works now correct with ending html Very Happy

Find this in the backend.php:

Code:
 echo "<link>$nukeurl/modules.php?name=News&amp;file=article&amp;sid=$row[sid]</link>\n";



replace with:


Code:
    echo "<link>$nukeurl/article-$row[sid]--0-0.html</link>\n";

 
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> General/Other Stuff

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©