source: trunk/www.guidonia.net/wp/wp-content/plugins/feeder-v0.3/README.txt@ 44

Last change on this file since 44 was 44, checked in by luciano, 14 years ago
File size: 3.1 KB
Line 
1Feeder 0.3 Documentation
2-=-=-=-=-=-=-=-=-=-=-=-=-
3
4Just Copy the feeder.php to /wp-root-path/wp-content/plugins/
5where /wp-root-path/ contains your Wordpress Installation and Follow the Instructions.
6
7
8Make Sure the ./wp-content/uploads/ Folder Exists and is set to CHMOD 777
9if you want to use the Feed-Cache Features. (and your disk/host has atleast 50KB of free Space)
10
11
12
13I. Instructions
14---------------
15
161) Edit the "sidebar.php" File of your Default Template using Wordpress ACP or FTP and
17add the Following Lines in a Place Suitable for your Purpose.
18
19<!---- QUICK ---->
20 <?php if ( class_exists('feeder') ) : ?>
21 <h2><?php _e('Feeder'); ?></h2>
22 <ul>
23 <?php new feeder("http://feed-link"); ?>
24 </ul>
25 <?php endif; ?>
26<------ END ----->
27
28
29<!------- ADVANCED ------->
30 <?php if ( class_exists('feeder') ) : ?>
31 <h2><?php _e('Feeder'); ?></h2>
32 <ul>
33 <?php new feeder("http://feed-link", num-links, "<li>", "</li>", "feeder-link", "target", num-chars, 1, cache-time); ?>
34 </ul>
35 <?php endif; ?>
36<!--------- END ---------->
37
38
39 Where
40 (i) 'http://feed-link' -> Feed URL you want to use
41 {ii} 'num-links' -> Number of Links to Show
42 (iii) '<li>' and '</li>' -> xHTML Tags to Bind the Links
43 (iv) 'feeder-link' -> CSS Class of the Links Shown for Styling (Leave it as it is)
44 (v) 'target' -> Link Target, "_blank" for New Window and "_self" for the Current Window.
45 (v) 'num-chars' -> Number of Characters to Parse for the Title
46 (vi) '1' -> Enable Feed Cache, Change to 0 if you dont want to use it/Anything Goes Wrong.
47 (vii) 'cache-time' -> Update the Cache Every n Seconds.. 3600 = 1Hr
48
49 Example: <?php new feeder("http//domain.com/feed/", 5, "<li>", "</li>", "feeder-link", "_self", 32, 1, 3600); ?>
50 NOTE: Do NOT Quote the num-chars, num-links, cache and cache-time!
51
522) Activate the Plugin from the Wordpress ACP Plugins Page.
53
54
55
56II. Regarding Feed-Cache
57------------------------
58
59If you directly source the Feed from another site, there seems to be a Lag in rendering Your Blog!
60Mostly because the Source Site is a Little Slow or has a Huge amount of Traffic.
61
62Feeder's Feed-Cache will keep a Scaled Down Copy of the RSS Feed in your own Server (Containing only Links and Titles)
63It Automatically Updates the Cache according to the time set (Default: 3600secs)
64
65Make sure the Uploads Folder of your blog is set to CHMOD 777 (Write-Write-Write) if you want to use the Feature.
66
67
68
69III. Bugs, etc.
70---------------
71
72If you Find any Nasty Bugs in my Plugin, Email me (subbu.exe[at]gmail.com)
73Thank You :)
74
75
76
77IV. License
78-----------
79
80Meh! See GPLv2 in gnu.org
81
82XML Parser Function is taken from PHP Manual. I Think PHP License, etc. applies for that..
83
84
85
86V. Feature Requests & Contact
87-----------------------------
88
89Plugin Page: http://xubz.com/weblog/2007/03/feeder-wordpress-plugin
90Author Blog: http://xubz.com/
91
92Email me (subbu.exe[at]gmail.com) if you want to Request Features, etc.
93
94I'm a Freelance Web Developer and Designer, Contact me about any Queries of those..
95
96(And Forgive my English.. :-/)
97
98
99
100EOF
Note: See TracBrowser for help on using the repository browser.