/    Sign up×
Community /Pin to ProfileBookmark

.txt file to RSS feed

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.

[url]http://www.atlantisarchive.com/updates.txt[/url]

[url]http://www.atlantisarchive.com[/url] – 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 ?

to post a comment
PHP

3 Comments(s)

Copy linkTweet thisAlerts:
@scragarAug 12.2008 — 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...
Copy linkTweet thisAlerts:
@drhart4000Aug 13.2008 — 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).
Copy linkTweet thisAlerts:
@drhart4000Aug 13.2008 — 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
×

Success!

Help @aduk85 spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.5,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,

tipper: @Samric24,
tipped: article
amount: 1000 SATS,
)...