Share

mYLastRSS

The forum address has changed, you have been automatically redirected. Please update any bookmarks to use the new URL.

Subscribe

Renaming attributes with colun to underscore

You are viewing a single message from this topic. View all messages.

  1. 2008-01-10 21:32:48 UTC
    Hi,

    One other thing.

    Is it possible to rename attributes with a colun (:) to an underscore (_)?

    For example, "itunes:subtitle" would become "itunes_subtitle" and "content:encoded" would become "content_encoded".

    The only reason I need this functionality is because I am using Smarty as a template engine and they do not like coluns in their variable names.

    Preferably one of you PHP gurus can provide me with a quick and dirty fix in mylastrss.class.php!

    Thanks for reading again!
< Previous | 1 | Next >

Add a Reply

This forum does not allow anonymous participation.

Log in to add a reply. Not registered? Create an account to participate and receive email updates when replies are posted to this topic.