• Howdy… I’m following this guy’s instructions to create a second RSS feed:

    http://yoast.com/custom-rss-feeds-wordpress/

    Just copying his template worked, but I want to make my new feed full text. I can see that he’s got some kind of variable creating a “text limit” can can any PHP gurus out there figure out how to make this have no limit?

    Are there any other ways to customize an RSS feed? I don’t know PHP, which makes doing anything with WordPress awfully hard.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Are there any other ways to customize an RSS feed?

    You may need to see creating a custom feed, before you customize feeds.

    I haven’t tested this, but you should be able to change
    yoast_rss_text_limit($post->post_content, 500)
    to
    $post->post_content
    to get the full post feed.
    Can I ask why you’re looking to create a custom feed. There may be an easier, cleaner way, as kurosquare alluded to.

    Thread Starter nickaster

    (@nickaster)

    Fantastic, it works!

    …basically, there’s a guy who wants to syndicate my content in a creative way and we want to include the whole post, not just the exceprt (which is my prefernce for the default feed).

    So I need a new RSS feed with full content. I also want to style it a little bit once that’s fixed.

    Okay, well that’s probably the best way to go, especially now that you have it working. Whelp, if everything is good, go ahead and mark it as resolved.

    Thread Starter nickaster

    (@nickaster)

    Heya – well, the guys are telling me the following:

    “I have been working through creation of the iPhone app for you and we’re having an issue with the feed you’re providing. The iPhone RSS consumers seem to be having a difficult time with the markup showing up in the item elements. I see you have it marked with a CDATA section but it’s not being respected as such. Is it possible for you to escape the content? That’s what we’re doing and it seems to be working so I’m more confident in using that approach than trying to debug the CDATA issue.”

    I’m in over my head here. I’m perfectly capable of editing an RSS feed or HTML, but the way WordPress generates it is totally greek to me. Does anyone have any idea what the above means? or a solution?

    Thanks!

    Thread Starter nickaster

    (@nickaster)

    Here’s another way to look at it….

    Apparantly, my public feed is working fine: http://triplepundit.com/feed/

    But maybe that’s just because it’s going through FeedBurner?

    How do I simply create a second RSS feed? One that’s exactly the same, but has full content? I’m very confused as to why this is difficult!

    It’s not actually WordPress that’s generating this feed, since you’re using different code to produce this. You could try changing
    $post->post_content
    to
    strip_tags( $post->post_content )
    and then ask your developers if things are working correctly.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘PHP Help’ is closed to new replies.