Ask your WordPress questions! Pay money and get answers fast! Comodo Trusted Site Seal
Official PayPal Seal

XML feed/file creation. Plug-in possible? WordPress

I'm utilizing the JobRoller theme from AppThemes, and need to export an XML feed file from job postings.

As it is an oft-requested item on their forum, methinks it would be a good thing to share if I could find a way to solve it.

Not having a clue where to start, but being a previous registrant here at wpQuestions was the place an acquaintance (Pippin Williamson) suggested I go to perhaps get on the right path for solving this opportunity.

Thanks for any reply you might have.

Cheers,

Michael

Answers (3)

2011-07-01

Alessendro answers:

Use the function from the tutorial here http://jonplante.com/blog/parsing-rss-feeds-with-php/ to parse the rss feed and use fwrite to save it to file. http://www.tizag.com/phpT/filewrite.php


Michael Langham comments:

Trying to get this to work but no success.

2011-07-01

Hardeep Singh answers:

You can directly save the XML/RSS feed from browser. If you meant something then please elaborate.

2011-07-03

Peter Michael answers:

Not sure what you need, please be more specific.

Beside that, JobRoller has built-in feeds: [[LINK href="http://www.appthemes.com/demo/jobroller/feed/?post_type=job_listing"]]http://www.appthemes.com/demo/jobroller/feed/?post_type=job_listing[[/LINK]] and [[LINK href="http://www.appthemes.com/demo/jobroller/job-category/engineering/feed/?post_type=job_listing"]]http://www.appthemes.com/demo/jobroller/job-category/engineering/feed/?post_type=job_listing[[/LINK]]

Basically you just add '/feed/?post_type=job_listing' to the end of an URL


Michael Langham comments:

Thanks to both Hardeep & Peter.

Apologies for failing to say NOT an RSS feed. I added this in "discourse"

[[LINK href="http://wpquestions.com/user/discourseShow/id/1756/discourse_id/278"]]http://wpquestions.com/user/discourseShow/id/1756/discourse_id/278[[/LINK]]

Thanks gain to all.