http-syndication
This plugins offers the following “ground” functionnalities: Display the content of a post or page without any header, sidebar and footer. Importing the content from an external web site Importing an internal content of the wordpress site A few other deprecated functionalities 1. Displaying a post o
This plugins offers the following “ground” functionnalities:
- Display the content of a post or page without any header, sidebar and footer.
- Importing the content from an external web site
- Importing an internal content of the wordpress site
- A few other deprecated functionalities
1. Displaying a post or page without any header, sidebar and footer
In order to render the raw content of a post or page without any header, sidebar and footer use the link:
http://#mywordpressadress?httpsyndication&p=#post_or_page_id&title=#1_or_0
where:
- #mywordpressadress is the wordpress web site adress.
- #post_or_page_id is the post or page id (you can read the post id in the http link when you edit the post).
- #1_or_0 defines whether the post title (enclosed in a <h1> HTML tag) is displayed (default is 1 , i.e., true).
Remarks:
- In this text all words prefixed by # , e.g., #tag or #id correspond to a variable, e.g., #tag means any tag name or #id means an ID label.
- The post content is exported after filtering.
2. Importing the content from an external web site
In order to import an external a post or page contents in another post or page, use the following shortcode:
[import url="#external_resource_location" ]
where:
- #external_resource_location is the external web site http location.
Inside the [import ..] shortcode, the following options allows to select and adjust the content to import:
- Content selection: body=1 : in order to only import the <body..>..</body> part of the <html><head>..</head><body..>..</body></html> page.
- tag_id=#id : only extract the content of the 1st tag of the given id, i.e. the <#tag id="#id">..</#tag> part, where #tag is any tag (e.g., div , span , ..).