Click to See Complete Forum and Search --> : .txt file to RSS feed


aduk85
08-12-2008, 08:11 AM
I am looking for a way to create an rss feed for a .txt file.

I already use php to parse the information from the .txt file and place this on my sites front page
for displaying the most recent site updates.

I would really like to offer this same list of recent site updates in an rss feed, so people can
subscribe to it either in a reader or via an alerts system.

Can anyone help me?

Here is a link direct to the .txt file and my website address.

http://www.atlantisarchive.com/updates.txt

http://www.atlantisarchive.com - scroll down to the Recent site updates bit and thats what the php coding i use outputs from the .txt file.

If anyone can help i would be extrememly grateful :)

scragar
08-12-2008, 08:43 AM
erm...

the problem as I see it is that RSS feeds are supposed to return a link to the page you want the user to read more on the topic/comment from, you provide javascript links to videos, which won't work very well. You also don't appear to have any sort of date or such on the text file, which will make unique IDs for the individual items in the feed appear multiple times on some readers...

I'm not saying it's impossible, it would just be very hard, and possibly involve a few edits to the files...

drhart4000
08-12-2008, 11:06 PM
This should help: http://tiffanybbrown.com/2005/12/22/dynamic-rss-feeds-using-php-mysql-and-apache/

It's the same process but your going to parse the txt file rather than get the information from a mysql server(you said you where already able to do this).

drhart4000
08-12-2008, 11:08 PM
As a side note, it would probably be easier to make the rss feed your updates, and then have php parse the rss feed for the updates rather than a txt file, a much cleaner method