Ajax.PeriodicalUpdater is probably not the best solution for that problem. If the XML has to be parsed client-side, you will probably want to use Ajax.Request and wrap it with PeriodicalExecuter. (http://prototypejs.org/api/periodicalExecuter)
Thomas Woodham Data Editor - The Greenville News 864.298.4302 [BECAUSE THE NEWS NEVER STOPS] -----Original Message----- From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of polomasta Sent: Monday, December 03, 2007 10:13 AM To: Ruby on Rails: Spinoffs Subject: [Rails-spinoffs] Ajax.PeriodicalUpdater I have a php script that pulls data from my db and generates a bunch of xml. I need a way to easily parse through the xml and pull different chunks out into different divs on my page. I've used Ajax.PeriodicalUpdater to pull in the entire contents, but i'm not too sure how to go about just selecting the data I want and inserting it into different divs. Any ideas? Thanks so much! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
