Ok, Beel.
I put CG-Feedreader into the plugin directory along with all the other files. It's not appearing in the Wordpress plugin tab. Stumped at step 1!
Greg
Ok, Beel.
I put CG-Feedreader into the plugin directory along with all the other files. It's not appearing in the Wordpress plugin tab. Stumped at step 1!
Greg
Ok. Got them to appear in the Wordpress tab. On to step 2.
I've put:
$feedUrl = "http://news.com.com/2547-1040_3-0-5.xml"; // a sample CNET feed. use your own...
$feedOut = getSomeFeed($feedUrl, 4, false, "feed-cnetttech", '', 36, false);
if ($feedOut)
echo $feedOut;
into index.php.
Can't see the feed on the blog page.!?
Greg
In the index page or in a post on the index page? You also have uploaded all the directories for CG-BigKahuna? (momentary memory loss - can't remember the package name)
Thanks, Beel. In index.php which is in the root dir of the blog.
It reads:
<?php
/* Short and sweet */
define('WP_USE_THEMES', true);
require('./wp-blog-header.php');
$feedUrl = "http://news.com.com/2547-1040_3-0-5.xml"; // a sample CNET feed. use your own...
$feedOut = getSomeFeed($feedUrl, 4, false, "feed-cnetttech", '', 36, false);
if ($feedOut)
echo $feedOut;
?>
I put the whole kahuna into the plugins directory.
That won't get run because WP will redirect to your theme directory index page (define('WP_USE_THEMES', true);) when the blog-header is loaded.
Ah... now where might that be... (looking...)
Methinks it's the index.php in the wp-admin folder..
I love the way the post is yellowed and then faded..
Nope, not there. Can't tell you exactly where since I don't know where your blog is, but one of the theme directories below wp-content/themes. If you don't know which, check in admin or just view the source of your index page and check from where the css is being loaded.
Nooooooooooo! Don't touch that....
It's the index.php file that's in the Theme directory you are using.
wp-content\themes\_your_theme_here\index.php
-tg
Found it! wp-content/themes/default/index.php.
So, I put the feedreader code in that file, and it appears!
Thanks, guys.
It's nice to know someone/s out there is watching you.
Greg
Seems to want it as an .xml extension file.
Doesn't work with: http://bearstorm.com/blogs/london/wp-rss2.php
Also, when I change to http://bearstorm.com/blogs/london/wp-rss2.php
it brings back the old feed. Maybe cache needs to be cleared.
No (to the post before your last one), it works fine no matter what generates the feed. If you changed the link without changing the name then you will not see it for awhile as all feeds are cached by CG-Feedread.
As an aside, I noticed from your feed you are using an older version of WP that had some bugs. Might want to get 1.5.2
Thanks, Beel. And I'll change to 1.5.2.
Actually, it says 1.5.2 in my dashboard. :-)
I tested your link in my CG-Feedread subscriptions and it worked fine. Try this:
<?php getSomeFeed('http://bearstorm.com/blogs/london/wp-rss2.php', 4, true, "TEST", '', '', '240', true, true, true); ?>
Might want to check that you have correctly uploaded all files for 1.5.2 as your feed has <!-- generator="wordpress/1.5.1.3" -->
Nice! Works a treat. Will check all files, too.
One last question, Beel. If I want to use my own index page in root of http://www.bearstorm.com, and put the getSomeFeed function call in there, how is that going to find the function?
Have a really nice day, Beel. You've been a great help.
I believe David's CG-Feedread did not start out as a plugin. I use it outside of WP by including WP's blog-header in any file accessing a WP function. You may be able to just include CG-Feadread.php but I haven't tried that.
I'll try it tomorrow. Will get back to this thread. Thanks. Greg
To continue above, just found a link that will allow CG-Feedreader to be used outside of wp: http://wordpress.org/support/topic/36422.
Howeve, I've gone back to using Bill Rawlinson's: rssLinkList: http://rawlinson.us/blog/index.php?p=212
Seems a little easier.
I'm not sure what could be easier than a single function call... ;)
Yes, CG-FeedRead can be direct-included in a higher-up index.php to utilize it anywhere on a site. In addition, it can be used on a completely non-WP site, as it has no connections to WP. The 'plugin stub' is simply a way to get cg-feedread.php included, but you can also do so manually (such as on other PHP sites, or 1.0 wordpress...).
What do you like about linklist that was (for you) better/easier than FeedRead? I'm always looking to improve things -- especially for people who take the time to get set up in the first place. :)
-d
This topic has been closed to new replies.