summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2006-03-03 11:20:12 +0100
committerAndreas Gohr <andi@splitbrain.org>2006-03-03 11:20:12 +0100
commitfa3fcd9ba1c888d61846546869043c0db8d92425 (patch)
tree787e5bf20f4be0f8d959eb78093d6f3d8f99c81e
parent2825d176835aa8dd6a958651f9c503895381f7f0 (diff)
downloadrpg-fa3fcd9ba1c888d61846546869043c0db8d92425.tar.gz
rpg-fa3fcd9ba1c888d61846546869043c0db8d92425.tar.bz2
revised wiki:dokuwiki page
darcs-hash:20060303102012-7ad00-56d4ffdd28b89af5cc6bc7f16c32f78beee2d782.gz
-rw-r--r--data/pages/wiki/dokuwiki.txt49
-rw-r--r--feed.php40
2 files changed, 51 insertions, 38 deletions
diff --git a/data/pages/wiki/dokuwiki.txt b/data/pages/wiki/dokuwiki.txt
index 6f5566e9a..f6f36fda7 100644
--- a/data/pages/wiki/dokuwiki.txt
+++ b/data/pages/wiki/dokuwiki.txt
@@ -12,34 +12,47 @@ DokuWiki is available at http://www.splitbrain.org/go/dokuwiki
All documentation and additional information besides the [[syntax|syntax description]] is maintained in the DokuWiki at [[doku>wiki:dokuwiki|wiki.splitbrain.org]].
- * [[doku>wiki:news|News and Announcements]]
- * [[doku>wiki:features|Features]]
+**About DokuWiki**
+
+ * [[doku>wiki:features|A feature list]] :!:
+ * [[doku>wiki:users|Happy Users]]
+ * [[doku>wiki:press|Who wrote about it]]
+ * [[doku>wiki:blogroll|What Bloggers think]]
+ * [[http://www.wikimatrix.org/show/DokuWiki|Compare it with other wiki software]]
+
+**Installing DokuWiki**
+
* [[doku>wiki:requirements|System Requirements]]
- * [[doku>wiki:compatibility|Browser Compatibility]]
- * [[doku>wiki:Install|How to install or upgrade]]
+ * [[http://www.splitbrain.org/go/dokuwiki|Download DokuWiki]] :!:
+ * [[doku>wiki:changes|Change Log]]
+ * [[doku>wiki:Install|How to install or upgrade]] :!:
* [[doku>wiki:config|Configuration]]
- * [[doku>wiki:FAQ|Frequently Asked Questions (FAQ)]]
- * [[doku>wiki:accesskeys|Accesskeys]]
- * [[doku>wiki:discussion:discussion|Discussion]]
- * [[doku>wiki:users|DokuWiki Users]]
- * [[doku>wiki:compare|Wiki Engine Comparison]]
- * [[doku>wiki:experiences|Experiences]]
- * [[doku>wiki:tips|Tips and Tricks]]
- * [[doku>wiki:tpl:templates|Templates]] and [[doku>wiki:plugins|Plugins]]
+**Using DokuWiki**
+
+ * [[wiki:syntax|Wiki Syntax]]
+ * [[doku>wiki:manual|The manual]] :!:
+ * [[doku>wiki:FAQ|Frequently Asked Questions (FAQ)]]
* [[doku>wiki:glossary|Glossary]]
- * [[http://bugs.splitbrain.org/index.php?project=1|Bugs and feature wishes]]
- * [[doku>wiki:mailinglist|Mailing List]]
+**Customizing DokuWiki**
- * [[doku>wiki:todo|ToDo List]]
+ * [[doku>wiki:tips|Tips and Tricks]]
+ * [[doku>wiki:tpl:templates|How to create and use templates]]
+ * [[doku>wiki:plugins|Installing plugins]]
* [[doku>wiki:development|Development Resources]]
- * [[doku>wiki:changes|Change Log]]
- * [[doku>wiki:thanks|Thanks]]
+
+**DokuWiki Feedback**
+
+ * [[doku>wiki:mailinglist|Join the mailing list]] :!:
+ * [[http://bugs.splitbrain.org/index.php?project=1|Submit bugs and feature wishes]]
+ * [[doku>wiki:discussion:discussion|The discussion pages]]
+ * [[http://www.wikimatrix.org/forum/viewforum.php?id=10|Share your experiences in the WikiMatrix forum]]
+ * [[doku>wiki:thanks|Some humble thanks]]
===== Copyright =====
-2004-2005 (c) Andreas Gohr <andi@splitbrain.org>
+2004-2006 (c) Andreas Gohr <andi@splitbrain.org>
The DokuWiki engine is licensed under [[http://www.gnu.org/licenses/gpl.html|GNU General Public License]] Version 2. If you use DokuWiki in your company, consider donating a few bucks to me via [[https://www.paypal.com/xclick/business=andi%40splitbrain.org&amp;item_name=DokuWiki+Donation&amp;no_shipping=1&amp;no_note=1&amp;tax=0&amp;currency_code=EUR&amp;lc=US|PayPal]] ;-).
diff --git a/feed.php b/feed.php
index 7cda26032..9636e6555 100644
--- a/feed.php
+++ b/feed.php
@@ -41,20 +41,20 @@
$type = 'RSS1.0';
}
- // the feed is dynamic - we need a cache for each combo
+ // the feed is dynamic - we need a cache for each combo
// (but most people just use the default feed so it's still effective)
- $cache = getCacheName($num.$type.$mode.$ns.$ltype.$_SERVER['REMOTE_USER'],'.feed');
+ $cache = getCacheName($num.$type.$mode.$ns.$ltype.$_SERVER['REMOTE_USER'],'.feed');
- // check cacheage and deliver if nothing has changed since last
+ // check cacheage and deliver if nothing has changed since last
// time (with 5 minutes settletime)
- $cmod = @filemtime($cache); // 0 if not exists
- if($cmod && ($cmod+(5*60) >= @filemtime($conf['changelog']))){
- header('Content-Type: application/xml; charset=utf-8');
- print io_readFile($cache);
- exit;
+ $cmod = @filemtime($cache); // 0 if not exists
+ if($cmod && ($cmod+(5*60) >= @filemtime($conf['changelog']))){
+ header('Content-Type: application/xml; charset=utf-8');
+ print io_readFile($cache);
+ exit;
}
- // create new feed
+ // create new feed
$rss = new DokuWikiFeedCreator();
$rss->title = $conf['title'].(($ns) ? ' '.$ns : '');
$rss->link = DOKU_URL;
@@ -74,11 +74,11 @@
}
$feed = $rss->createFeed($type,'utf-8');
-
+
// save cachefile
- io_saveFile($cache,$feed);
+ io_saveFile($cache,$feed);
- // finally deliver
+ // finally deliver
header('Content-Type: application/xml; charset=utf-8');
print $feed;
@@ -97,7 +97,7 @@ function rssRecentChanges(&$rss,$num,$ltype,$ns,$minor){
$guardmail = ($conf['mailguard'] != '' && $conf['mailguard'] != 'none');
- $flags = RECENTS_SKIP_DELETED;
+ $flags = RECENTS_SKIP_DELETED;
if(!$minor) $flags += RECENTS_SKIP_MINORS;
$recents = getRecents(0,$num,$ns,$flags);
@@ -105,12 +105,12 @@ function rssRecentChanges(&$rss,$num,$ltype,$ns,$minor){
//this can take some time if a lot of recaching has to be done
@set_time_limit(90); // set max execution time
- foreach($recents as $recent){
+ foreach($recents as $recent){
$item = new FeedItem();
$item->title = $recent['id'];
$xhtml = p_wiki_xhtml($recent['id'],'',false);
-
+
if($conf['useheading']) {
$matches = array();
if(preg_match('|<h([1-9])>(.*?)</h\1>|', $xhtml, $matches))
@@ -142,13 +142,13 @@ function rssRecentChanges(&$rss,$num,$ltype,$ns,$minor){
$item->description = $desc;
$item->date = date('r',$recent['date']);
- $cat = getNS($recent['id']);
- if($cat) $item->category = $cat;
-
+ $cat = getNS($recent['id']);
+ if($cat) $item->category = $cat;
+
$user = null;
$user = @$recent['user']; // the @ spares time repeating lookup
$item->author = '';
-
+
if($user){
$userInfo = $auth->getUserData($user);
$item->author = $userInfo['name'];
@@ -199,7 +199,7 @@ function rssListNamespace(&$rss,$ns){
$item->description = $desc;
$item->date = date('r',$date);
$rss->addItem($item);
- }
+ }
}
/**