|
Following are the tags in your custom MySite templates and their explanations:
Feed Related tags
%SOURCE_TITLE% / %SOURCE_TITLE()%
This tag will be replaced by the Title of the feed.
If you wish to truncate the long feed titles then use %SOURCE_TITLE(length)% where length is the number of the characters to be shown.
Example: %SOURCE_TITLE(30)% will truncate the title to 30 characters
%SOURCE_URL%
This will be replaced by the URL of the feed source.
%SOURCE_FEED_URL%
This will be replaced by the Feed URL.
%SOURCE_IMAGE_URL%
This will be replaced by the URL of the image associated with the feed.
Note: If you are not sure if there's an image associated with the feed you can enclose the %SOURCE_IMAGE_URL% tag within the
<if-image>...</if-image> tags. <if-image> will show the image if it exists.
%ADD_TO_MYSITE%
This will be replaced by the +MySite button.
%ADD_TO_MYSITE_LINK%
You can use this tag to place your own link in place of the default +MySite button.
Item Related Tags
%TITLE% / %TITLE()%
This will be replaced by the Item Title.
%URL%
This will be replaced by the URL of the Item.
%DESCRIPTION% / %DESCRIPTION()%
This will be replaced by the item Description in plain text. Meaning, use this tag if you would like the HTML formatting to be removed from the description.
%DESCRIPTION_HTML% / %DESCRIPTION_HTML()%
Use this tag if you like your description to render the HTML formatting.
%DATE% / %DATE()%
This represents the pubdate of the item. %DATE% will give you the date in the timeago format. If you like the date to appear in a custom format then you can use the %DATE(format)% where format can be any of the PHP format characters.
To learn more about the PHP date formating characters please visit PHP Date.
%ENCLOSURE_URL%
This represents the URL of the associated enclosure of an item.
%ENCLOSURE_TYPE%
Use this for the enclosure type.
%ENCLOSURE_LENGTH%
This will be replaced by the size of the enclosure in bytes.
Note: If you are not sure if there's an enclusre attached with the item you can enclose the above enclosure tags within the
<if-enclosure>...</if-enclosure> tags. <if-enclosur> will show the enclosure if it exists.
|
|
|
|