This project is read-only.

BE 2.5 syndication.axd not rendering custom tags

Topics: Controls
Mar 20, 2012 at 10:22 AM


What do I need to change so that the syndication.axd will render custom tags correctly.


For example if I use the YouTubePlayer Extension I can put the following in the text of the post [youtube:abcdefghij] and the extension will replace the the tag with the relevant tag to imbed a youtube video. This works fine when viewing the post on the blog page however when viewing the blog post in an rss reader the custom tag is not converted.

Any idea what I need to do to get the syndication.axd to render the custom tags correctly?




Mar 21, 2012 at 5:29 AM

You would need to modify extension adding "ServingLocation.Feed" to the list of handled locations. Example (from another extension):

if (e.Location == ServingLocation.PostList
    || e.Location == ServingLocation.SinglePost
    || e.Location == ServingLocation.SinglePage
    || e.Location == ServingLocation.Feed)

Mar 21, 2012 at 8:37 AM

Awesome thanks for your help, got it sorted now.