ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

remove pages from RSS feed

January 06, 2009 11:32am

Subscribe [2]
  • #1 / Jan 06, 2009 11:32am

    nkadlac

    7 posts

    Is it possible to prevent pages that I have created from getting listed in my RSS feed? I’ve setup a couple pages such as About, Contact, etc, though I find it unnecessary to show up as blog posts in a News Reader.

  • #2 / Jan 06, 2009 11:48am

    Ryan Irelan

    444 posts

    You’ll need to make sure the weblog where those pages are stored is not included in the weblog parameter of the RSS tag.

    {assign_variable:master_weblog_name="blog"}
    {exp:rss:feed weblog="{master_weblog_name}"}

    If you have your pages stored in the same weblog as other entries, then you’ll probably want to separate those out. Normally, in the weblog entries tag pair, you could do

    {if page_url == ''}
    blah
    {/if}

    but I don’t think that variable is available in the RSS module.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases