I have a RSS feed in an XML file at the root level. I have a php script that adds to the xml when ever i want to add to it. Is there a way to have wordpress add to that RSS feed every-time publish a blog post?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Yeah, that’d be no problem so long as you can parse the XML and then append nodes to it (XML docs are not as straight forward as, say, doing a
file_put_contents()to append to the doc).One way to do this would be to hook onto the
edit_postaction and do your update in the callback function.