source: randomized-blogroll/trunk/readme.txt @ 604

Revision 604, 3.7 KB checked in by griesselmann, 7 years ago (diff)
Line 
1Randomized Blogroll Plugin Readme
2
3The plugin was tested on WordPress 1.2.2 and the latest Beta of WordPress 1.5
4on both Windows and Linux.
5
6A) Installation
7
81. Copy the file "random-blogroll-plugin.php" to the folder "wp-content/plugins"
92. Create a folder named "rbr-cache" in the "wp-content" directory. Make sure it
10   is writable by the server (chmod 0777).
113. Upload the OPML file that contains your subsriptions to the server (e.g. to
12   "wp-content"). If your subscription is provided by a server like technorati.com,
13   you can skip this step. Read section C of this readme, though.
144. Hack your site to display the blogroll.
15
16   For WordPress 1.2.x:
17
18   Add the following lines to your "index.php", right where the other links are
19   located.
20   Beneath the section entitled archives would be a good place.
21         <?php
22         if (function_exists("rbr_output"))
23         {
24         ?>
25           <li id="blogroll"><?php _e('Blogs I read'); ?>
26           <ul>
27           <?php rbr_output(OPML-FILE-NAME); ?>
28           </ul>
29           </li>
30         <?php
31         }
32         ?>
33
34   For WordPress 1.3 and higher:
35
36   The links are located in the file "wp-content/themes/[theme name]/sidebar.php".
37   If you use the classic theme, add the same code like above, for example before
38   the section entitled "Meta" to the file "wp-content/themes/classic/sidebar.php".
39   
40   If you use the default theme, the code must be slighly modified to fit the theme:
41          <?php
42          if (function_exists("rbr_output"))
43          {
44          ?>
45            <li id="blogroll"><h2><?php _e('Blogs I read'); ?></h2>
46            <ul>
47            <? rbr_output(OPML-FILE-NAME); ?>
48            </ul>
49            </li>
50          <?php
51          }
52          ?>
53   You can place it before the "Meta" section in the file "wp-content/themes/default/sidebar.php".
54
555. Replace OPML-FILE-NAME with the path to the OPML file you uploaded before or the URL
56   if your subscriptions are taken from another server.
576. Enable the plugin in your WordPress administration environment.
58
59
60B) Details
61
62The function rbr_output takes the following parameters:
63
64OPML-FILE-NAME: The name of your opml file to be read or its URL. E.g. "wp-content/export.xml"
65or "http://some-blogroll-provider/my-subscriptions.xml".
66NUMBER-OF-ENTRIES: Optional. The number of entries to display, default is 10.
67REFRESH-TIME-IN-MINUTES: Optional. Defines after how many minutes, the randomized roll should be
68updated. Default is 60 minutes.
69START-TAG: Optional. Anything you would like to see before each generated anchor tag. Default is "<li>".
70END-TAG: Optional. Anything you would like to see after each generated anchor tag. Default is "</li>".
71
72
73C) Bugs And Inconveniences
74
75The plugin requires your OPML file to provide the attributes "htmlUrl" and either "title" or
76"text" for each of your subscriptions. It was successfully testes with plugins from SharpReader
77and BlogLines.com.
78
79Unfortunately some feed readers (like FeedReader) don't provide the "htmlUrl" attribute and OPML
80files exported from this applications are not processed. If the plugin generates an empty list
81saying "No blogroll entries found", your OPML file may not be as complete as it could be.
82
83In this case import your OPML into another feed reader and reexport it, for example using SharpReader
84(http://www.sharpreader.net/), which is free.
85
86If you take the subsriptions from a server like technorati.com and an error occurs saying the file
87could not be found, this possibly is because you are not allowed to access files on other servers.
88This is due the the PHP init parameter allow_url_open set to 0. Contact your administrator in this
89case or download the subscription file and upload it on your server.
90
91If you find any other bugs, please report them at http://dev.wp-plugins.org/newticket
Note: See TracBrowser for help on using the repository browser.