WordPress.org

Support

Support » Plugins and Hacks » Syndicate Press » [Plugin: Syndicate Press] Tutorial: Selecting a feed to place in a page

[Plugin: Syndicate Press] Tutorial: Selecting a feed to place in a page

  • Plugin Author SP developer

    @hranchfundi

    When placing a [sp# feedname] tag in a post or page, the feedname value is used to search through the URL’s (or feedname) of all of the feeds for a match. Any feed urls that contain the feedname string are considered to match and are included in that [sp# …] tag result and shown on the page. For example, placing the string ‘the’ in the tag feedname will match all feeds that contain the string ‘the’ in the URL or in the feedname.

    The easy way to selectively target a given feed for a particular [sp# …] tag is to use the a specific identifier which is unique to the desired feed in the tag.

    Example 1:
    =============================================
    Say there are 3 feeds with no custom feed names configured in the Feed tab:
    http://henryranch.net/feed
    http://news.deeprootsmedia.com/feed
    http://airsoftranch.com/feed
    This tag will include all 3 feeds:
    [sp# feed]
    This tag will include only the henryranch feed:
    [sp# henry]
    This tag will include only the deeprootsmedia feed:
    [sp# deep]
    This tag will include both the deeprootsmedia and henryranch feeds:
    [sp# deep,henry]

    Example 2:
    ============================================
    Say there are 2 feeds with custom feed names:
    – The Syndicate Press Plugin Developer|http://henryranch.net/feed
    – The Best Airsoft Gear|http://airsoftranch.com/feed
    This tag will still include both feeds:
    [sp# ranch]
    This tag will include only the henryranch feed:
    [sp# Syndicate]
    This tag will include only the airsoftranch feed:
    [sp# Gear]
    This tag will include both feeds:
    [sp# The]

    http://wordpress.org/extend/plugins/syndicate-press/

  • The topic ‘[Plugin: Syndicate Press] Tutorial: Selecting a feed to place in a page’ is closed to new replies.
Skip to toolbar