can anyone help me get feed grab working? my blog host seems to have changed something with the Atom feed and now i get “array” populated in my “Content” custom weblog.
here is the link to the feed: http://www.chicagonow.com/blogs/whats-it-worth/atom.xml
here is my import template:
{exp:feedgrab url="http://www.chicagonow.com/blogs/whats-it-worth/atom.xml"
weblog="22"
title="title"
unique=“guid”
date="published"
use="link|content"
fields="ext_link|content" }
<h1>Feed import finished</h1>
This plugin is great. It is 99% or what I needed. I am pulling my tweets into my blog as entries so people can possibly comment and I have a record of my daily life.
The biggest issue I have is actually related to the twitter feed itself and I was hoping that FeedGrab had some kind of workaround and or feature request.
title=”title” This parameter reads the title of the RSS feed and creates a new title for the entry, which is fine except that twitter places the entire tweet in the title and description. Is there a way to put a custom title in that field? ie title=”Tweeted on pubDate” so my titles make sense when the entries are created? Possibly allow for EE style date formatting.
The other minor issue I have is that the feed publishes the author automatically, ie ffpblog:tweet. Is there a way to get it to erase everything up to the first : since that seems to be how Twitter formats the feed?
I am currently using twitter timeline to display tweets, but it would be so much better to have them created as entries within the blog so I can capture them for posterity.
thanks.
I have the same problem as below - pulling in RSS from a twitter feed. Looks fine in CP. Doesn’t output anything. I tried adding site=”” parameter just in case but no luck. This is not a multisite setup.
sorry for cross post to “how to” 10 days and no response so.. I’ve got a Feedgrab issue where a twitter feedgrab import is not working as it should when output to weblog:entries I have the “FeedGrab” plugin pulling in data from twitter. it looks more or less like this:twtlink and twtbody are custom fields within a field group dedicated to twitter feeds. twtbody is a text input field of 161 characters w text formatting set to none twtlink is a text input field of 256 characters w text formatting set to xhtml the import appears to succeed pulling in 20 or so items, generating a response in the following format: Fetching: http://twitter.com/statuses/user_timeline/111111.rss Checking: twitterusername: twitter post data Found new entry: twitterusername: twitter post data the data is visible and editable in the CP. new posts may be entered directly in the CP the issue comes when I try to use it in an entry form as follows:{exp:feedgrab url="http://twitter.com/statuses/user_timeline/11111111.rss" weblog="21" title="title" date="pubDate" use="link|description" fields="twtlink|twtbody" unique="twtlink" }
entries entered directly in the CP render fine. entries pulled in via FeedGrab - while they look fine on import and in the CP - do not render… any bright ideas as to what is happening and how to solve it? thanks!{exp:weblog:entries weblog="tweet_feed" orderby="date" limit="10" dynamic="off" show_future_entries="yes"} {title}<br> {twtbody}<br> {twtlink} {/exp:weblog:entries}
code example? charset?
I have the same problem as below - pulling in RSS from a twitter feed. Looks fine in CP. Doesn’t output anything. I tried adding site=”” parameter just in case but no luck. This is not a multisite setup.sorry for cross post to “how to” 10 days and no response so.. I’ve got a Feedgrab issue where a twitter feedgrab import is not working as it should when output to weblog:entries …….
Hi bafadam
Are you able to post your template code and the exact settings you made to the two weblogs?
I’ve tried inserting your changes into pi.feedgrab.php but I don’t think I’m quite there yet. Feedgrab was working fine and inserting entries but I can’t get them to associate themselves with their feeds.
I have made custom field in my posts weblog called ‘feed_id’ which is a relationship field pointing at the feeds weblog
I have:
{exp:feedgrab url="{resource_rss_url}"
weblog="9"
title="title"
feed_id="{entry_id}"
post_date="pubDate"
use="link|description"
fields="post_url|post_description"}
…but I’m getting an SQL error
(Description: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘WHERE entry_id = 187’ at line 1
Query: UPDATE exp_weblog_data
SET WHERE entry_id = 187)
Any help really appreciated!
{exp:feedgrab url="http://themancast.spookyouthouse.com/feed"
weblog="3"
title="title"
pubdate="pubdate"
use="link|description"
fields="feed_link|feed_description"
parent_weblog_id="2"}
I think you’re missing the “parent_weblog_id” parameter there, chief. I could export my weblog settings for you, but that’s a little more work than I think I need to do. Try the parent_weblog_id and let me know if that works for you.
Thanks for replying. Have added parent_weblog_id but I’m still getting the same error. Also noticed in my code I have this parameter | feed_id=”{entry_id}” | whereas you don’t. Thinking either my custom fields are wrong or something else I don’t know.
The mySQL error is in the ‘SET WHERE’ bit which I think happens here:
$sql = $DB->update_string('exp_weblog_data', $relDataSwap, 'entry_id = ' . $entry_id);
Hmm…
Ok, this might be a clue. The entries that were getting checked are apparently in the system, but when I click the Edit tab, they don’t show up. Yet, when I view the template I set up to display the entries that get imported, they do show up. What’s up with that?
wow… i have the COMPLETE opposite problem! i can edit them. but they dont show up in the template. it says they have been checked, but they dont show up. then… only the title will show up if i edit that particular entry. but nothing else.
im thinking, do i need my weblog prefrences set up any particular way? like does the particular weblog HAVE to have a default category that it post to?
thanks.
my particular problem was that I hadn’t assigned an author. I was trying to get the plugin to parse the author from the feed, but apparently that isn’t supported. The entries were showing up on the Control Panel home page, so I opened them from there and assigned an author.
My new problem is that I can’t get the categories to parse. They’re multiple word categories like Employment Verification, and they’re all inside tags like this:
<category>Employment Verification</category><category>Form I-9</category>
and so on. They won’t parse at all-is there another way to get categories?
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.