7 of 11
7
Plugin: FeedGrab
Posted: 12 October 2007 10:27 AM   [ Ignore ]   [ # 109 ]  
Lab Assistant
RankRank
Total Posts:  149
Joined  04-09-2007

oh I havnt tried it that way.

I use the html_strip when I am outputting the description in a page.

so

{exp:weblog:entries blah blah}

{exp
:html_strip}{exp:word_limit}{feed_desc}{/exp:word_limit}{/exp:html_strip}

{
/exp:weblog:entries}

Profile
 
 
Posted: 12 October 2007 10:34 AM   [ Ignore ]   [ # 110 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  779
Joined  12-01-2002

Whoops, forgot to ask this, what are people doing to make updating the feed automatic? Are you using cron jobs, or placing the feedgrab in silent mode and placing on a high or medium volume template? Anything?

Profile
 
 
Posted: 12 October 2007 10:37 AM   [ Ignore ]   [ # 111 ]  
Lab Assistant
RankRank
Total Posts:  149
Joined  04-09-2007

I have mine in it’s own template, and cron job it on the server.

Profile
 
 
Posted: 12 October 2007 10:46 AM   [ Ignore ]   [ # 112 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  779
Joined  12-01-2002

briggs wrote oh I havnt tried it that way.  I use the html_strip when I am outputting the description in a page.

Yeah, that’s what I’m currently doing, I was looking for a solution to cleaning the data before it’s entered into the system. That one’s not super urgent though. The entering of source data is more important to me. So I could say this info is from Craigslist, this from the Madison Times, etc, etc.

Profile
 
 
Posted: 12 October 2007 10:58 AM   [ Ignore ]   [ # 113 ]  
Lab Assistant
RankRank
Total Posts:  149
Joined  04-09-2007

I’m not sure how you are setup, but this is what I do.

I have a weblog with 9 categories. Each category is the source website name.

I then i have 9 chunks of feedgrab code, reading 9 feeds.

for each feed, i assign one of the categories to it. That’s how I ensure the source.. every article is going into the weblog with the assigned category.

Perhaps you are doing something different, i havnt re-read your initial post again (sort of at work, dodging eyes)

The character codes/oddness happening might not have anything to do with html strip, but what the settings are on the custom field where the description is going, but that’s just me guessing. YOu could probably use a find and replace plugin that would catch all the character codes being output as well, maybe. Hmm, I should try that!

Profile
 
 
Posted: 12 October 2007 11:01 AM   [ Ignore ]   [ # 114 ]  
Lab Assistant
RankRank
Total Posts:  149
Joined  04-09-2007

I’m not sure if you can do some mysql statements or something that would affect the data before you insert it into the weblog database. Might be scary to try.

Profile
 
 
Posted: 12 October 2007 11:14 AM   [ Ignore ]   [ # 115 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  779
Joined  12-01-2002

Yeah, I thought about categories, but originally dismissed them, perhaps I should revisit.  I originally dismissed, because I want to use categories for types of postings. For example, I’ve created custom queries for finding all housing related items located on the East, Near East, and Far East side of Madison. These items can be for rent, for sublet, homes for sale, condos for sale, co-ops, etc.  So I was planning on those details to be the categories, and the source, just to be a field called “source”. Obviously source data is part of the feed, so I was hoping I could pull it from there.  I’m still going to keep playing. If worse comes to worse, categories can be a fall back. 

Thanks for your help.

Profile
 
 
Posted: 12 October 2007 11:16 AM   [ Ignore ]   [ # 116 ]  
Lab Assistant
RankRank
Total Posts:  149
Joined  04-09-2007

Good luck

(Don’t forget about parent/child categories as well, maybe that will help)

Profile
 
 
Posted: 12 April 2008 10:59 PM   [ Ignore ]   [ # 117 ]  
Grad Student
Avatar
Rank
Total Posts:  51
Joined  02-04-2003

Any chance you would consider a couple of function requests:

1.  A function to limit the entries created?  By date and number perhaps?
2.  A summary function - post multiple RSS entries in a single post - for example all Twtters for a particular day.

Thanks for the great plug-in.

Regards

James Turnbull

 Signature 

James Turnbull <james@lovedthanlost.net>
—-
Author of Pro Nagios 2.0
(http://www.amazon.com/gp/product/1590596099/)
Hardening Linux
(http://www.amazon.com/gp/product/1590594444/)

Profile
 
 
Posted: 18 April 2008 03:33 AM   [ Ignore ]   [ # 118 ]  
Grad Student
Rank
Total Posts:  85
Joined  01-18-2003

Category Bug?

I’m using version 0.7.3 and have a problem to add categories (predefined categories using the “category” parameter).

I think there is the following problem in the plugin:

Wrong version:

$results = $DB->query("SELECT cat_id, parent_id FROM exp_categories
WHERE (cat_id IN ('"
.implode("','",$cats)."') OR cat_name IN ('".implode("','",$cats)."'))
AND group_id = '"
.$query->row['cat_group']."'");

Correct version:

$results = $DB->query("SELECT cat_id, parent_id FROM exp_categories
WHERE (cat_id IN ('"
.implode("','",$cats)."') OR cat_name IN ('".implode("','",$cats)."'))");

In my case, it works now. But I’m not sure if this is the best way to get it running ...

Kind regards,
MISC

Profile
 
 
Posted: 18 April 2008 10:21 PM   [ Ignore ]   [ # 119 ]  
Grad Student
Avatar
Rank
Total Posts:  55
Joined  05-05-2007

Hey,

I’m wanting to include my flickr feed in my tumblelog but currently it’s including each and every photo and I generally upload photos in groups. Each time I upload photos the take up my entire lifestream.

I’d prefer each group of photos I upload to appear as one item in the lifestream. I generally group everything I upload as sets and therefore it makes sense to include every new set as a new item in my lifestream.

I found a yahoo pipe to do this but it doesn’t include the date so my sets are included dateless. Also, the feed created there hasn’t got an images, I’d like 5 random/latest photos from the set to be shown with the entry in the lifestream. So in one field there’s an unorder list with the 5 images in it (for example.)

Thanks a lot!

Profile
 
 
Posted: 22 April 2008 07:14 AM   [ Ignore ]   [ # 120 ]  
Grad Student
Rank
Total Posts:  85
Joined  01-18-2003

Bug in Function “is_entry_unique” ?

I have the impression that in version 0.7.3 the mentioned function produces a problem if a time_offset is used. The plugin creates duplicated entries because the feed date and the entry date are always different due to the time_offset.

I think that the problem is located here:

$query = $DB->query("SELECT * FROM exp_weblog_titles WHERE LEFT(title,100) = LEFT('".$DB->escape_str($post[ "title" ])."',100) AND entry_date = '".$DB->escape_str($post[ "date" ])."'");

and could be solved in that way:

$query = $DB->query("SELECT * FROM exp_weblog_titles WHERE LEFT(title,100) = LEFT('".$DB->escape_str($post[ "title" ])."',100) AND entry_date = '".$DB->escape_str($post[ "date" ] - $this->time_offset)."'");

But, I’m not a professional - please wait for an official confirmation before changing the plugin script.

Kind regards,
MISC

Profile
 
 
Posted: 12 May 2008 10:16 PM   [ Ignore ]   [ # 121 ]  
Lab Assistant
RankRank
Total Posts:  149
Joined  04-09-2007

I have about 250MB worth of html log files that the plugin is creating. Is there any way to disable this? I delet all the files and they reapear..

They are just lists of actions, checking a feed to see if it’s updated or not.. but 250mb worth.. !

Profile
 
 
Posted: 16 May 2008 03:48 AM   [ Ignore ]   [ # 122 ]  
Lab Assistant
RankRank
Total Posts:  165
Joined  12-21-2005

I have a new version of the FeedGrab plugin available which is multiple site compatible.

A site_id parameter has been added to select which site to import the data into, eg, site_id=“2”. If you are not using MSM, just ignore the parameter.

From now on - to keep things simpler - please see the FeedGrab page to download current version. I will continue to announce updates in this thread.

Thanks, Andrew

 Signature 

Andrew Weaver — brandnewbox.co.uk


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

Profile
 
 
Posted: 28 May 2008 05:53 AM   [ Ignore ]   [ # 123 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  184
Joined  10-24-2006

This plugin is exactly what I’ve been looking for!  My one complaint (not really a complaint) with it so far is that the Plugins page still is not loading—just has a blank screen.  I use that page a lot when I’m looking at the syntax to use for other plugins, so it’s a big bummer it breaks the page.

Does anyone have any ideas how to make the Plugins page come back to life with FeedGrab installed?

Edit: Also, I’m getting a “?” in place of apostrophes.  Thoughts?

Thanks,

Doug

 Signature 

Dabbledoo Media

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

Profile
 
 
Posted: 28 May 2008 01:46 PM   [ Ignore ]   [ # 124 ]  
Lab Assistant
RankRank
Total Posts:  165
Joined  12-21-2005

I’ve just updated the plugin and have hopefully fixed the plugin manager problem.

FeedGrab download available here

Let me know of any problems.

Andrew

 Signature 

Andrew Weaver — brandnewbox.co.uk


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

Profile
 
 
Posted: 28 May 2008 02:25 PM   [ Ignore ]   [ # 125 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  184
Joined  10-24-2006

Thanks Andrew.  Looks like that did the trick.  Welcome back Plugin Manager. smile

 Signature 

Dabbledoo Media

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

Profile
 
 
Posted: 28 May 2008 02:25 PM   [ Ignore ]   [ # 126 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  184
Joined  10-24-2006

Any ideas on how to fix the “?” problem with the encoding?

 Signature 

Dabbledoo Media

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

Profile
 
 
   
7 of 11
7
 
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: 64881 Total Logged-in Users: 56
Total Topics: 81806 Total Anonymous Users: 46
Total Replies: 439767 Total Guests: 305
Total Posts: 521573    
Members ( View Memberlist )
Newest Members:  Dynamic1justingpticketjendicottdxrsmdanbilly8hrkiliwysso50kexpressoKlaas