• trbothead

    (@trbothead)


    I’m writing my own XSLT stylesheet to convert an RSS 2.0 feed from one of my blog categories to HTML and display the results on another site on a different server. I’ve gotten as far as converting the RSS feed to HTML and redisplay the HTML on a new page but I can’t get full posts to display, only excerpts of them. The full posts show up when I view the specific category, but when I view the feed (using the permalink /feed/) only excerpts show up:(

    Here’s the cat URL:

    https://tinyurl.com/caweb3

    I’m a total newb to this, so if you think of something that should be total obvious, it’s probably not that obvious to me: I’m all ears ??

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter trbothead

    (@trbothead)

    After going through many posts here (and still looking), I see that most of the time, the issue is to make sure the “Full Text” option is selected in Reading Settings. I can assure you that this is selected and I also have my Feedburner FeedSmith plugin deactivated to be sure that the category feed isn’t being redirected.

    There must be something that I can do in the XSLT stylesheet or maybe the ASPX page that I’m writing, because if I try accomplishing the same thing using BuzzBoost, the full feed shows up just fine…

    Thread Starter trbothead

    (@trbothead)

    okay. it looks like it does have something to do with my code that I used to pull the feed. I’ll have to investigate this a bit more…

    Thread Starter trbothead

    (@trbothead)

    Someone explained to me what is happening on a different forum. Since
    during all of my research, I didn’t see a single article/post
    explaining concept and the fact that I absolutely despise finding
    unanswered threads myself, let me attempt to explain for anyone
    reading this thread in the future in hopes of finding an answer:

    If you look at the source code for an RSS 2.0 feed, you’ll see under
    each entry (in the feed, it is referenced as an <item> element) there
    are two separate sets of elements:

    <description>XXXX </description>
    <content:encoded>XXXX </content:encoded>

    The first element, <description>, contains an excerpt of your entry.
    The second element, <content:encoded> is the raw HTML from the
    original source.

    When you view an RSS 2.0 feed in a browser, just remember, certain browsers use certain elements, eg. IE uses content:encoded,
    Firefox uses <description>, Safari uses <content:encoded>, Chrome…
    well…

    Seriously, it’s really that simple and I’m stunned that there are SOOO
    many unanswered or poorly answered threads throughout the Internet on
    this topic.

    In my case, I simply needed to specify which element to use in my XSLT
    stylesheet.

    Hopefully this helps some people searching for answers.

    trbothead,

    I was excited to see this topic. Thanks so much for that last post, that’s very considerate.

    I’m hoping you can help me. I too am trying to pull the entire posts into another site with an xslt that I’m writing myself. Most of all I want to pull in the images. I’m a total newb and when I add conent:encoded to the xslt I get this error:

    “Reference to undeclared namespace prefix: ‘content’.”

    I take it you’ve had some luck. Can you help me out with an example of your xslt?

    Thanks. dayaja

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Getting full content from a category feed’ is closed to new replies.