CG-Feedreader
-
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.!?
GregIn 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.
GregSeems 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. 🙂
The topic ‘CG-Feedreader’ is closed to new replies.