10 of 11
10
Plugin: FeedGrab
Posted: 05 August 2008 06:19 PM   [ Ignore ]   [ # 163 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  768
Joined  03-16-2002

While I can’t tell you if the parameters are correct, I can tell you that the ee:cron only works if the page is visited frequently. Its not a true cron, but just checks the timespan between the page views. so, if you have a test page nobody is visiting, ee:cron will never fire regardless of the time passed by. I use a real cron job to make sure the page is visited regularly.

Markus

Profile
 
 
Posted: 05 August 2008 07:25 PM   [ Ignore ]   [ # 164 ]  
Grad Student
Rank
Total Posts:  35
Joined  07-08-2005

Thanks Markus. I guess I’ll have to look into using a real cron job.

Profile
 
 
Posted: 25 August 2008 11:48 AM   [ Ignore ]   [ # 165 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  184
Joined  10-24-2006

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

 Signature 

Dabbledoo Media

———————————————————————-
Gadgetell - Tech News and Reviews
Gamertell - Gaming Hardware and Product News
Appletell - Apple News and Rumors

Profile
 
 
Posted: 27 August 2008 05:22 PM   [ Ignore ]   [ # 166 ]  
Grad Student
Rank
Total Posts:  72
Joined  04-29-2008

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

Profile
 
 
Posted: 28 August 2008 07:05 AM   [ Ignore ]   [ # 167 ]  
Grad Student
Rank
Total Posts:  72
Joined  04-29-2008

uhhmm..solved it..just a typo in the fields name I looked over ten times, works great now!

Profile
 
 
Posted: 29 August 2008 06:33 PM   [ Ignore ]   [ # 168 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  779
Joined  12-01-2002

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?

Profile
 
 
Posted: 30 August 2008 10:13 AM   [ Ignore ]   [ # 169 ]  
Grad Student
Rank
Total Posts:  35
Joined  07-08-2005

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?

Profile
 
 
Posted: 22 September 2008 12:23 PM   [ Ignore ]   [ # 170 ]  
Summer Student
Total Posts:  22
Joined  11-03-2006
chabbs - 30 August 2008 10:13 AM

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

Profile
 
 
Posted: 19 October 2008 06:49 PM   [ Ignore ]   [ # 171 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1505
Joined  05-15-2004

Could FeedGrab be used instead of one of those abandoned Amazon plugins/modules to help pull in data for a book review site? As in, you feed the plugin the ISBN from a custom field, then it fetches all the data about the book that you want.

 Signature 


:: Westeros :: Hippoi Athanatoi ::

Blackadder: “Baldrick, have you no idea what irony is?”   
Baldrick: “Yeah! It’s like goldy and bronzy, only it’s made of iron.”
Blackadder III, Amy and Amiability

Profile
 
 
Posted: 19 October 2008 07:15 PM   [ Ignore ]   [ # 172 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  779
Joined  12-01-2002

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.

Profile
 
 
Posted: 20 October 2008 06:01 AM   [ Ignore ]   [ # 173 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1505
Joined  05-15-2004

Yeah, unfortunately all the plugins for that are dead :(

I think Amazon also offers the data via ... REST? Isn’t that RSS-like?

 Signature 


:: Westeros :: Hippoi Athanatoi ::

Blackadder: “Baldrick, have you no idea what irony is?”   
Baldrick: “Yeah! It’s like goldy and bronzy, only it’s made of iron.”
Blackadder III, Amy and Amiability

Profile
 
 
Posted: 20 October 2008 08:22 AM   [ Ignore ]   [ # 174 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  779
Joined  12-01-2002

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.

Profile
 
 
Posted: 20 October 2008 08:33 AM   [ Ignore ]   [ # 175 ]  
Grad Student
Rank
Total Posts:  85
Joined  01-18-2003

Sorry, but I am not able to find to latest version for download (in this thread, on brandnewbox or in plugin database).

Thanks for your help.
MSIC

Profile
 
 
Posted: 20 October 2008 08:42 AM   [ Ignore ]   [ # 176 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1505
Joined  05-15-2004

Ok, thank you for explaining. smile

 Signature 


:: Westeros :: Hippoi Athanatoi ::

Blackadder: “Baldrick, have you no idea what irony is?”   
Baldrick: “Yeah! It’s like goldy and bronzy, only it’s made of iron.”
Blackadder III, Amy and Amiability

Profile
 
 
Posted: 21 October 2008 02:07 PM   [ Ignore ]   [ # 177 ]  
Lab Assistant
RankRank
Total Posts:  165
Joined  12-21-2005
misc - 20 October 2008 08:33 AM

Sorry, but I am not able to find to latest version for download (in this thread, on brandnewbox or in plugin database).

Sorry. The link should be back now on http://brandnewbox.co.uk/products/details/feedgrab/

Andrew

 Signature 

Andrew Weaver — brandnewbox.co.uk


Member of EE Professional Network · More plugins, extensions and modules · Documentation

Profile
 
 
Posted: 23 October 2008 01:41 PM   [ Ignore ]   [ # 178 ]  
Grad Student
Rank
Total Posts:  72
Joined  04-29-2008

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

Profile
 
 
Posted: 23 October 2008 02:52 PM   [ Ignore ]   [ # 179 ]  
Summer Student
Total Posts:  22
Joined  11-03-2006

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

Profile
 
 
Posted: 25 October 2008 12:03 AM   [ Ignore ]   [ # 180 ]  
Grad Student
Rank
Total Posts:  72
Joined  04-29-2008

Thanks Hillnut, I will give it a try!

Regards,
Tammo

Profile
 
 
   
10 of 11
10
 
Post Marker Legend
New Topic New posts Hot Topic Hot Topic with new posts New Poll New Poll Moved Topic Moved Topic Sticky Topic Sticky topic
Old Topic No new posts Hot Old Topic Hot Topic with no new posts Old Poll Old Poll Closed Topic Closed Topic Announcement Announcements
Theme
Change Theme
Visitor Statistics
The most visitors ever was 1149, on July 16, 2007 09:33 AM
Total Registered Members: 64905 Total Logged-in Users: 61
Total Topics: 81838 Total Anonymous Users: 38
Total Replies: 440024 Total Guests: 233
Total Posts: 521862    
Members ( View Memberlist )