FeedForAll Forum Index  
 Home  •  FAQ  •   Search   •  Register   •  Profile   •  Log in
 finishing the feed View next topic
View previous topic
Post new topicReply to topic
Author Message
dadoonan



Joined: 15 Dec 2007
Posts: 8

PostPosted: Fri Oct 31, 2008 7:50 pm Reply with quoteBack to top

I've been using sql2rss for the past six months. While it successfully pulls the headline, date and text from the database + updates everytime a new record is added, there's one problem I haven't had the time to try and resolve until now.

The problem is that all the links from the feed, both those of the title as well as those of the "Read more..." all point to the top of the main press page, not to specific stories.

How do I config the link attribute so each url is associated with the record ID?

feed://www.gp.org/press/feed/sql2rss.php

The code in sql2rss_ItemTemplate.xml is as follows. Any type of query I tried adding only resulted in the app blowing up.
<item>
<title>~~~XXXXX~~~</title>
<link>http://www.gp.org/press.php</link>
<description>~~~XXXXX~~~</description>
<pubDate>~~~XXXXX~~~</pubDate>
</item>



Ideas anyone???

david
david
View user's profile
Display posts from previous:      
Post new topicReply to topic


 Jump to:   



View next topic
View previous topic


Powered by phpBB © 2001, 2002 phpBB Group :: FI Theme