additional_plugins/serendipity_event_backend
Thomas Hochstein b0859ac48d Remove URLs, mail addresses and links from author.
URLs and mail adresses don't belong there and
are currently dead anyway.

Links will no longer be shown in the next
patch release.

Bump versions to propagate.

Signed-off-by: Thomas Hochstein <thh@inter.net>
2020-03-23 18:01:22 +01:00
..
UTF-8 the other half of da04025 2014-11-29 15:51:17 +01:00
backend.html Migrate plugins 2011-12-13 12:29:05 +01:00
documentation_cs.html Fix DOS linebreaks in CS/CZ translation 2012-02-08 21:09:09 +01:00
documentation_cz.html Fix DOS linebreaks in CS/CZ translation 2012-02-08 21:09:09 +01:00
lang_bg.inc.php also remove $Revision$ 2013-08-12 10:27:53 +02:00
lang_cs.inc.php czech translations - removed leading slash from first line (introduced erroneously in previous commit) 2013-12-28 21:43:44 +01:00
lang_cz.inc.php czech translations - removed leading slash from first line (introduced erroneously in previous commit) 2013-12-28 21:43:44 +01:00
lang_de.inc.php Migrate plugins 2011-12-13 12:29:05 +01:00
lang_en.inc.php also remove $Revision$ 2013-08-12 10:27:53 +02:00
README Migrate plugins 2011-12-13 12:29:05 +01:00
serendipity_event_backend.php Remove URLs, mail addresses and links from author. 2020-03-23 18:01:22 +01:00

Javascript backend for displaying entries on external websites
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""

Use:
""""

simply add a "<script src=[URL]></script>" to your external website 
at exactly the place, where the entries should appear.

You also can use CSS to change the look of these shown entries. There
exists three css-classes, which can be used.
Please take a look into the example-file "backend.html" in this directory.

Note: You can add as many "<script src=[URL]></script>", maybe with 
different options to your external website as you want.

[URL] should be something like:
http://your.blog.com/plugin/[BACKEND_URL]?[OPTIONS]

Where [BACKEND_URL] is the name which you've entered in the 
plugin-configuration in your blog-administration.

[OPTIONS] can be everything as shown below:


Options:
""""""""

There are several options you can give with the script-url on your external website 
to affect the looking of the shown entries:

details		1|0				- Shows either only the headlines or the whole entry (without extended body!)

category	[catname]		- If set, only entries of this category will be shown, if not set, entries of all
							  categories will be shown

categoryid  [N]             - You can also restrict by category name instead of ID
authorid    [N]             - Set to the ID of an author to filter entries by

num			[N]				- if set [N] entries will be shown, if not 10 entries will be shown

order		ASC|DESC		- sorting order of the entries (by creation date)

date		1|0				- if set to 1, the creation date will be shown

dateformat	[formatstring]	- uses the provided formatstring to show the date (php-function date())

time		1|0				- if set to 1, the creation time will be shown

timeformat	[formatstring]	- uses the provided formatstring to show the time (php-function date())

point		[string]		- uses the provided string as first part of the headlines.
								  can be used to create a list (<li>), or similar.


Examples:
"""""""""
	
The following will show up to 30 headlines, with date and time and the point "*" and only from category "s9y"
	<script src="http://blog.linux-stats.org/plugin/backend?category=s9y&num=30&order=DESC&date=1&dateformat=d.m.Y&time=1&timeformat=H:i&point=*"></script>
	
The following will show the whole entries as they are shown on the blogs mainpage. 
	<script src="http://blog.linux-stats.org/plugin/backend?details=1&category=s9y&num=30&order=DESC&date=1&dateformat=d.m.Y&time=1&timeformat=H:i"></script>