I was just to update the site of a friend of mine and going through the database before the back up I found a very long entry with this (screenshot) inside the wp_options table.
O:9:"MagpieRSS":19:{s:6:"parser";i:0;s:12:"current_item";a:0:{}s:5:"items";a:10:{i:0;a:13:{s:5:"title";s:75:"Enabling. Facilitating. Encouraging: Website In A Weekend March 25-27, 2011";s:4:"link";s:92:"https://website-in-a-weekend.net/getting-started/enabling-facilitating-encouraging-wordpress/";s:8:"comments";s:101:"https://website-in-a-weekend.net/getting-started/enabling-facilitating-encouraging-wordpress/#comments";s:7:"pubdate";s:31:"Wed, 16 Mar 2011 08:08:46 +0000";s:2:"dc";a:1:{s:7:"creator";s:11:"Dave Doolin";}s:8:"category";s:15:"Getting Started";s:4:"guid";s:40:"https://website-in-a-weekend.net/?p=24245";s:11:"description";s:613:"(Reading time: 3 – 5 minutes) It’s a rainy Sunday afternoon as I write here at Dos Palmas, Website In A Weekend’s headquarters. The weather warmed up a bit last few days, enough to get out and root around on the stairscape. Urban living precludes the Big Yard (“garden” for those across the pond), so [...]<p>Post from: <a href="https://website-in-a-weekend.net">Website In A Weekend</a><br/><br/><a href="https://website-in-a-weekend.net/getting-started/enabling-facilitating-encouraging-wordpress/">Enabling. Facilitating. Encouraging: Website In A Weekend March 25-27, 2011</a></p>
";s:7:"content";a:1:{s:7:"encoded";s:8520:"<p></p><p class="estread">(Reading time: 3 – 5 minutes)</p>
<div class="tweetmeme_button" style="float: left; margin-right: 10px;">
<a href="https://api.tweetmeme.com/share?url=http%3A%2F%2Fwebsite-in-a-weekend.net%2Fgetting-started%2Fenabling-facilitating-encouraging-wordpress%2F"><br />
<img src="https://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwebsite-in-a-weekend.net%2Fgetting-started%2Fenabling-facilitating-encouraging-wordpress%2F&source=websiteweekend&style=normal&service=bit.ly&b=2" height="61" width="50" /><br />
</a>
</div>
And this goes on and on and on….
The blog is a FAMILY ONLY one with just 3 members and 5 subscribers, having no more than 30 comments and 70 posts dealing with recipes, and ecology. Furthermore NONE of them ever even heard the words aweber, website-in-a-weekend.net or the likes mentioned in the table.
I could only find the magpie file inside their outdated feedwordpress plugin folder.
Is there some kind of a hack?
Thanx again.
]]>For now, I know one solution is to comment out lines 49,50,73, and 85 of the wp-admin/includes/dashboard.php file (in ver. 2.9 anyway),
which stops the fetching of the data, the storing of it, and the display of it on the admin’s Dashboard page, but I admit I like seeing the ‘incoming links’ (line 46) which are actually unique to my site, as opposed to the wordpress links which are not.
I would not mind as much if the data was strictly ascii (or utf8 compliant?), but it is not.
So, my question is: Is there a way to filter the non-ascii information to restrict it (or to convert it to utf8? – but that seems to be problematic as of yet. – I have even had troubles getting my database fully defined as utf8)
I had a similar problem with Vodpod but it was resolved when I found the IP addresses that vodpod used.
Has anybody any idea how I can find the IPs so that I can forward them to the hosting co?
Bill
]]>Fatal error: Call to undefined method MagpieRSS::get_item_quantity() in /****/wp-includes/default-widgets.php on line 788
It looks like magpie is being included properly, and I re-uploaded all of the magpie-related files again just to be safe. Has anyone ever encountered this issue?
Thanks for the help,
Dave
a) What are they?
b) How do I permanently get rid of them?
]]>$rss
object with all of the HTML stripped from the title
and description
elements in the $items
array. I have looked back through Trac and cannot figure out where or how this change came about. Does anyone have any insight, or know of a flag that can be set to re-enable full HTML output?
WordPress 2.6 Output:
[description] => <p><a href="https://www.flickr.com/people/stephenyeargin/">yearginsm</a> posted a photo:</p>
<p><a href="https://www.flickr.com/photos/stephenyeargin/3137553548/" title="Getting Into the Holiday Spirits"><img src="https://farm4.static.flickr.com/3225/3137553548_e60aacabee_m.jpg" width="240" height="180" alt="Getting Into the Holiday Spirits" /></a></p>
WordPress 2.7 Output:
[description] => pa href=https://www.flickr.com/people/stephenyeargin/yearginsm/a posted a photo:/p
pa href=https://www.flickr.com/photos/stephenyeargin/3137553548/ title=Getting Into the Holiday Spiritsimg src=https://farm4.static.flickr.com/3225/3137553548_e60aacabee_m.jpg width=240 height=180 alt=Getting Into the Holiday Spirits //a/p
Related Topic: https://www.ads-software.com/support/topic/228752
]]>MagpieRSS: Failed to fetch https://mysite.org/word/?feed=rss2 (HTTP Response: )
The code im using to grab the rss is:
<?php include('magpie/rss_fetch.inc');
error_reporting(E_ERROR);
$rss = fetch_rss('https://mysite.org/word/?feed=rss2');
if ($rss) {
$items = array_slice($rss->items, 0, 5);
foreach ($items as $item )
{ echo '<li><a href="'.$item['link'].'">'.$item['title'].'</a> - '.date("j M", strtotime($item['pubdate'])).'</li>'; }
}
else
{
echo '<h2>Error:</h2><p>'.magpie_error().'</p>';
}
// Restore original error reporting value
@ini_restore('error_reporting');
?>
can it be cache related?? Becouse I have been experimenting with the cache dir, cus it didnt update immediately, so i changed the cache dir in fetch.inc to, and then updated it immediately…
define('MAGPIE_CACHE_DIR', 'https://www.mysite.org/magpie/cache/');
Please, is there anyone who has a clue???
]]>Does anyone have any idea why this might be? I’ve included the full error messages from the PHP-include and Magpie below.
Warning: include(blog/feed) [function.include]: failed to open stream: No such file or directory in /var/www/vhosts/[snip]/httpdocs/index.php on line 66
Warning: include(blog/feed) [function.include]: failed to open stream: No such file or directory in /var/www/vhosts/[snip]/httpdocs/index.php on line 66
Warning: include() [function.include]: Failed opening 'blog/feed' for inclusion (include_path='.:/usr/share/pear') in /var/www/vhosts/[snip]/httpdocs/index.php on line 66
Warning: MagpieRSS: Failed to fetch /blog/feed (HTTP Error: Invalid protocol "") in /var/www/vhosts/[snip]/httpdocs/inc/magpierss/rss_fetch.inc on line 238
]]>https://www.imagekind.com/Rssfeed.aspx?GID=f7c3bb4c-8641-4925-a3f3-57ad46b2cc58
If you bring this feed up in a browser, you can tell that it is well formed and should not have any problems. However, when I try to use fetch_rss, it comes back telling me that it is not an array and there is no data in it.
If I do a print_r of the $rss (assuming $rss = fetch_rss(‘https://www.imagekind.com/Rssfeed.aspx?GID=f7c3bb4c-8641-4925-a3f3-57ad46b2cc58’), I can see data in there, but it appears to cut off at some point (can’t tell how many characters because fetch puts : and ; in the data). I think this cutoff is why it is thinking that there isn’t an array, since the array isn’t closed in any way.
Has anyone else seen this? Any ideas on a workaround? Better yet, what other RSS parsers might be available for me to use instead of Magpie? I did find this post to be enlightening and disheartening (and upgrading rss.php didn’t fix anything for me): https://projects.radgeek.com/2008/04/18/compatability-bugs-and-possible-quick-fixes-for-issues-with-feedwordpress-after-upgrading-to-wordpress-25/
]]>On the front page I show the latest 10 posts.
But after that I would like to create pages to show all post in a month, for example. All posts in June.
Can anyone tell me how to go about this.
I’m new to PHP and not sure how to write the code.
]]>