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
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.
Hardeep Singh answers:
You can directly save the XML/RSS feed from browser. If you meant something then please elaborate.
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.