Andrew -
I actually updated my version of this plugin so the “unique” parameter would support weblog_id. As I mentioned a while back, sometimes we need to be able to pull posts into more than 1 blog at a time. Its a very straight-forward update, but if you want me to send you the code, let me know.
Thanks,
Doug
Hi,
Just tried to get the FeedGrab v0.7.6 with EE 1.6.0 going but run into the following error:
Fatal error: Call to undefined function: mb_convert_encoding() in /home/hospital/public_html/hospisys/plugins/pi.feedgrab.php on line 185
I saw that Travis had te same issue earlier in this post and that Justin solved it by modifying their copy of the plugin with:
if (function_exists('mb_convert_encoding'))
{
$encoded_title = mb_convert_encoding($this->post[ "title" ], strtoupper('UTF-8'), $source_encoding );
}
elseif(function_exists('iconv') AND ($iconvstr = @iconv($source_encoding, 'UTF-8', $this->post["title"])) !== FALSE)
{
$encoded_title = $iconvstr;
}
else
{
$encoded_title = utf8_encode($this->post["title"]);
}
I tried this and now I got other errors returned:
Notice: Undefined index: id in /home/hospital/public_html/hospisys/plugins/pi.feedgrab.php on line 285 Notice: Undefined index: id in /home/hospital/public_html/hospisys/plugins/pi.feedgrab.php on line 286 Notice: Undefined index: format in /home/hospital/public_html/hospisys/plugins/pi.feedgrab.php on line 286 MySQL ERROR: Error Number: 1054 Description: Unknown column ‘field_id_’ in ‘field list’
The first entry has been entered into my weblog but I can’t open it to see what data is imported
Surely the plugin works as it does for most so there should be no modifying the plugin necessary and it is probably something else. Hopefully somebody can help me out.
Cheers, Tammo
I’m trying to use FeedGrab with a feed that requires authentication. It’s basic auth, and the feed can use https so I figured I could go old school https://username:password@website ad this works if I place the url directly in the web browser, but not in FeedGrab. This gets the following errors:
(HTTP Response: HTTP/1.1 401 Unauthorized ) in /path/to/plugin/plugins/pi.feedgrab.php on line 1794
and
Notice: Trying to get property of non-object in /path/to/plugin/plugins/pi.feedgrab.php on line 159
Is there a way to get FeedGrab or XMLGrab to work with a source that requires authentication?
Does RSS enclosure work with feedgrab?
This plugin works really well and I’ve been enjoying the automation. Recently I discovered the company that provides articles to my site also provides images. The image link can be found in “enclosure”. This is what it looks like <enclosure url=”http://site.com/media/0/176313.jpg” length= “30210” type=”image/jpeg”>. I noticed that the enclosure tag doesn’t using a closing tag and I’m wondering if feedgrab is looking for content that’s in between two tags.
Has anyone used RSS enclosures successfully with feedgrab?
Does RSS enclosure work with feedgrab? This plugin works really well and I’ve been enjoying the automation. Recently I discovered the company that provides articles to my site also provides images. The image link can be found in “enclosure”. This is what it looks like <enclosure url=”http://site.com/media/0/176313.jpg” length= “30210” type=”image/jpeg”>. I noticed that the enclosure tag doesn’t using a closing tag and I’m wondering if feedgrab is looking for content that’s in between two tags. Has anyone used RSS enclosures successfully with feedgrab?
Yep it works with an enclosure
If you have an RSS with <enclosure url=”http://myurl.com/embed/16501.jpg” length=”4543” type=”image/jpg”> you can grab the values inside the enclosure with enclosure@url
Like:
use=”link|description|enclosure@url|category” fields=”url_video|body|Image_vid|tag_import”
Hope this helps
I believe you need to use the Amazon API for that. FeedGrab grabs RSS, Aton, RDF feeds, meaning the data already exists in a collected format. Amazon offers RSS feeds for bestsellers, and a few other things; but what you are looking for is away to query the Amazon DB, the best method for that is to use the Amazon API.
Amazon’s API uses REST and SOAP or REST with SOAP, I don’t really understand the differences or overlap between them. But they aren’t really the same thing as RSS. I think the primary difference is with RSS, you are accepting the data that is provided. So Amazon gives you a Best Seller list, or a blog gives you the 10 most recent posts, etc. With REST or SOAP you tell the system what you want, so basically you query the system—I want recommendations for the Book that matches ASIN==##########. The return format can be similar to RSS, but there’s a query involved, as well as the passing of usage keys, etc. Whereas FeedGrab grabs public feeds. I haven’t upgraded, but I’ve never gotten it to work with a secure feed.
Hi,
I was wondering if there is a way to extract a specific piece of text from the description field that I import with FeedGrab. As you can see the location is included with the description field and I would like to take it out and use the information to fill the city, state and country fields.
<description>Job location - US, Massachusetts, Framingham<br /><br />To clean and stock guest rooms to ensure Hershas high standards…
Is this possible with FeedGrab (which works great) or maybe with another tool?
Regards, Tammo
Only possible sollution can be with regular expressions and then cut the found string “US, Massachusetts, Farmingham” into an array and grab the three into the designated fields. Maybe this plugin find and replace, can help you. it also allows regex functions to be executed. If that does not work you must fall back to php functions like this addon has php functions
Regards
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.