( moved from plugin discussion … cause it makes more sense for it to be here)
I have the “FeedGrab” plugin pulling in data from twitter.
it looks more or less like this:
{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" }
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:weblog:entries weblog="tweet_feed" orderby="date" limit="10" dynamic="off" show_future_entries="yes"}
{title}<br>
{twtbody}<br>
{twtlink}
{/exp:weblog:entries}
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!
Andrew Weaver located issue. Feedgrab needs an additional parameter - site_id - to be passed when you have MSM in effect.
Thank you Andrew!
Try adding a site_id=“2” parameter. Where the number is the id of the site you want to import into. I think the MSM introduced an extra field that needs to be set. Andrew
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.