Syndicate Press
Tutorial: Selecting a feed to place in a page (1 post)

  1. SP developer
    Plugin Author

    Posted 2 years ago #

    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]


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Syndicate Press
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

  • RSS feed for this topic
  • Started 2 years ago by SP developer
  • This topic is not a support question
  • WordPress version: 3.3.2