Jump to content
Killersites Forums



Recommended Posts

I am using ror.xml to feed a php page. It gives an error because of the colons in the script. If I remove the colons it works. I have been deleting these three lines from every entry. It was ok doing it once and adding or deleting a page as and when. Now the site is to undergo massive changes. Is there a way around this?


<ror:updatePeriod />



Link to comment
Share on other sites

I'll try to help, but unfortunately I'm not all that familiar with using a ror.xml file. As far as I know, it's basically a RSS file but with more fields.


A couple points of clarification:


-- In regards to the "it gives an error because of colons in the script" - could you use str_replace() to delete/escape the colons from the script?

-- do the three lines have anything to do with the colon error? If not, why are you removing them?

Link to comment
Share on other sites

Ah, got it. I thought you were meaning colons in the content within the tags, not in the xml tags themselves. You can ignore my advice about deleting/escaping the colons -- that won't work if they are in the tag.


I'm not sure how much more I can help on this... This might help:


http://articles.sitepoint.com/article/xml-namespaces-explained <-- make sure to look at this


Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...