Help - Search - Members - Calendar
Full Version: Editing Rss Feed Entry Titles
Movable Type Community Forum > Using Movable Type > Entries and Archives
jmarkj
I'm using Ben Trott's reFeed to bring multiple RSS feeds into a 4.1 blog, making actual blog entries in the process that then exist internally within the MT installation, allowing internal archiving, comments, etc. Everything fine there. However, once the external RSS article is made into a MT entry, the blog entry title includes the name of the RSS feed itself appended to the front; i.e., "XYZ Newspaper RSS Feed: Man Blows Up His Yard Gnome." Is there a straightforward way to remove this "feed name" text from the blog entry titles? Since I don't have access to the internal code of the third-party feed itself, I'm assuming I need to add some conditional statement or other type of "delete" code that removes the feed title text. I've even tried using reFeed itself, along with Feeds.App Lite and its big-brother Feeds.App plugin itself to attempt to "recycle" the feed one more time once it's within the MT environment, to attempt to edit the entry title at that point . . . however, neither of those plugins seem to have the ability to alter the entry title name. Or at least I haven't been able to figure out how to do so.

I had thought that the reBlog plugin might be able to do this, but possibly due to its being open-source, those guys don't seem to be updating their plugin as of the release of MT 4.x. In any event, this doesn't seem like it would be that hard of a thing to do . . . any thoughts? Thanks in advance.
jmarkj
QUOTE (jmarkj @ Aug 24 2008, 10:54 PM) *
I'm using Ben Trott's reFeed to bring multiple RSS feeds into a 4.1 blog, making actual blog entries in the process that then exist internally within the MT installation, allowing internal archiving, comments, etc. Everything fine there. However, once the external RSS article is made into a MT entry, the blog entry title includes the name of the RSS feed itself appended to the front; i.e., "XYZ Newspaper RSS Feed: Man Blows Up His Yard Gnome." Is there a straightforward way to remove this "feed name" text from the blog entry titles? Since I don't have access to the internal code of the third-party feed itself, I'm assuming I need to add some conditional statement or other type of "delete" code that removes the feed title text. I've even tried using reFeed itself, along with Feeds.App Lite and its big-brother Feeds.App plugin itself to attempt to "recycle" the feed one more time once it's within the MT environment, to attempt to edit the entry title at that point . . . however, neither of those plugins seem to have the ability to alter the entry title name. Or at least I haven't been able to figure out how to do so.

I had thought that the reBlog plugin might be able to do this, but possibly due to its being open-source, those guys don't seem to be updating their plugin as of the release of MT 4.x. In any event, this doesn't seem like it would be that hard of a thing to do . . . any thoughts? Thanks in advance.


FYI, I contacted Ben Trott directly and he instructed me to change the code as follows, which created the desired result:

Find this line:

title => join(': ', $feed->title, $entry->title),

and change it to:

title => $entry->title,
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.