Learn about DokuWiki
Learn about DokuWiki
Compatible with DokuWiki
No compatibility info given!
This extension has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues.
Extension name contains underscore, will not generate popularity points.
See http://peter.deweeses.net/doku.php?id=programming:wp_most_recent. : transfer more information here.
: Broken Download Link
Wordpress Most Recent Entries allows you to show the most recent entries from wordpress blogs in any Dokuwiki page. The display and many properties are completely customizable, and polish can be added. For example, dates can be displayed as “1 day 7 hours ago”, and summeries are ended with “[…]”. This is my first PHP project, so please give me tips! For bugs and tips (not gripes), email mailto:firstname.lastname@example.org. Please include the exact versions of dokuwiki and wordpress that you are using with a full description of any issue. (add a compatibility chart)
syntax.phpinto this directory.
Configure wp_most_recent in your DokuWiki installation under
Since WordPress blogs are databased as dynamic, the semi-static nature of DokuWiki rendering can get in the way.
At least one alias is required, but you can also configure the plugin to work with multiple WordPress databases. By default, the default alias should be named “default”. For each alias of name <aliasname>, include the following properties:
/These settings should mirror the configuration for a wordpress configuration. $conf['wp_most_recent']['db_alias']['<aliasname>']['host'] = "localhost"; $conf['wp_most_recent']['db_alias']['<aliasname>']['user'] = "db_user"; $conf['wp_most_recent']['db_alias']['<aliasname>']['pass'] = "db_password"; $conf['wp_most_recent']['db_alias']['<aliasname>']['sid'] = "wordpress"; $conf['wp_most_recent']['db_alias']['<aliasname>']['table_prefix'] = "wp_"; $conf['wp_most_recent']['db_alias']['<aliasname>']['baseurl'] = "http://<host>/blog";
Although any attribute can be defined by editing the wiki tags, a default attribute can be overridden using the following line:
$conf['wp_most_recent']['defaults']['<attribute>' ] = '<value>';
<wp_most_recent [attribute1="value1" attribute2="value2" (...)]>[entry_template]</wp_most_recent>
Entry templates can include tokens, html (, and wiki syntax):
<p>@categories@ <b>@title@</b><br/>@time_ago@ - @author@<br/>@content@</p>
| || ||A configured WordPress database alias|
| ||none||A category constraint or no value to display all categories|
| || ||A string to join categories if more than one exists|
| || || The maximum number of categories to display for an entry or
| || || A template for each category found. This is then used to replace
| || || The number of chars to truncate a content summary at or
| || || Add a link to the title?
| || || The maximum number of entries to display or
Tokens are surrounded with ‘@’. Ex: @title@
| ||Entry author’s nickname|
| ||Generated using the category template and delimeter|
| || Entry content, formatted with the
| ||Entry date|
| ||Entry exceprt|
| || Entry title. May contain link using
| ||Link to entry|
| ||Category name|
| ||Category’s short name|
it's possible for dotclear 2 to do the same ?
this is offline, can someone upload the file to somewhere else?