We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

twitter feedgrab import not working as it should when output to weblog:entries

Development and Programming

dreas's avatar
dreas
61 posts
16 years ago
dreas's avatar dreas

( 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!

       
dreas's avatar
dreas
61 posts
16 years ago
dreas's avatar dreas

could this be a character set issue?

can FeedGrab use: <meta http-equiv=”Content-Type” content=”text/html; charset=UTF-8” />?

       
dreas's avatar
dreas
61 posts
16 years ago
dreas's avatar dreas

moving this to “how to”

(cause when i reread the category here it occurred to me that this was a forum for plugin developers to get support from EE )

  • admin please delete the thread *
       
dreas's avatar
dreas
61 posts
16 years ago
dreas's avatar dreas

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
       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.