WordPress Plugin, RSS in Page, Date Formats


Date Format for WordPress Plugin: RSS in Page..

The rssformat option allows you to format the output using format parameters e.g. the default x: Y – w<br>z where x is the date, Y is the title with a link, y is the title, z is the description and w is the feed title, p adds a thumbnail image

The default date format for the RSS in Page, WordPress Plugin is x: Y – w<br>z
The letters represent:

x is the date,
Y is the title with a link
y is the title
z is the description
w is the feed title
p adds a thumbnail image

The code for this default would be: [rssformat x: Y – w<br>z]

Output for the default feed is:
[rssinpage rssfeed=’http://feeds.bbci.co.uk/news/rss.xml?edition=uk’ rssitems=’1′ rsstarget=’_new’]

Examples of changes to these codes are:

rssformat=’Y<br> – z<br>w – x’
[rssinpage rssfeed=’http://feeds.bbci.co.uk/news/rss.xml?edition=uk’ rssitems=’2′ rssformat=’Y<br> – z<br>w – x’ rsstarget=’_new’]

rssformat=’Y – x<br> – z<br>w’
[rssinpage rssfeed=’http://feeds.bbci.co.uk/news/rss.xml?edition=uk’ rssitems=’2′ rssformat=’Y – x<br> – z<br>w’ rsstarget=’_new’]

rssformat=’Y’
[rssinpage rssfeed=’http://feeds.bbci.co.uk/news/rss.xml?edition=uk’ rssitems=’2′ rssformat=’Y’ rssorder=’asc’ rsstarget=’_blank’ rss description=’no’]

rssformat=’Y – z’
[rssinpage rssfeed=’http://feeds.bbci.co.uk/news/rss.xml?edition=uk’ rssitems=’2′ rssformat=’Y – z’ rssorder=’asc’ rsstarget=’_blank’ rss description=’no’]

rssformat=’p Y’
[rssinpage rssfeed=’http://feeds.bbci.co.uk/news/rss.xml?edition=uk’ rssitems=’2′ rssformat=’p Y’ rssorder=’asc’ rsstarget=’_blank’ rss description=’no’]


62.1 - 812,908
DreamHost

Scroll down for Comments
0 0 votes
Article Rating
Subscribe
Notify of

This site uses Akismet to reduce spam. Learn how your comment data is processed.

0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x