Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^2: Seeking advice on generating a syndication feed

by fizbin (Chaplain)
on Nov 16, 2005 at 16:47 UTC ( #509100=note: print w/replies, xml ) Need Help??


in reply to Re: Seeking advice on generating a syndication feed
in thread Seeking advice on generating a syndication feed

Am I correct in assuming then that you don't generate the XML feed on the fly, but rather save it off in a separate file?

That might be the solution to my performance worries, but I'll have to think about how to trigger an update of the RSS feed when appropriate...

--
@/=map{[/./g]}qw/.h_nJ Xapou cets krht ele_ r_ra/; map{y/X_/\n /;print}map{pop@$_}@/for@/

Replies are listed 'Best First'.
Re^3: Seeking advice on generating a syndication feed
by hakkr (Chaplain) on Nov 16, 2005 at 17:04 UTC

    Yes it's created every day in a cron and written to disk with the writeFeedToDisk() sub. You could change it so it only writes the file when the source data changes maybe with a database trigger.

    Had the same worries about aggregators and news readers hitting my feed too much for it to be created dynamically

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://509100]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (3)
As of 2022-08-10 05:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?