Jump to:

10929 Posts in 2613 Topics by 1809 members

All other Modules

SilverStripe Forums » All other Modules » Twitter module - now available to download

Discuss all other Modules here.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1 2 3 4
Go to End
Author Topic: 5627 Views
  • Nivanka
    Avatar
    Community Member
    395 Posts

    Twitter module - now available to download Link to this post

    Hi,

    I did opened a forum thread for a new module call Twitter, which enables you to do embed your twitter account to your SilverStripe powered website. And not it is available to download.

    Click here to go to the website

    It will be great if anyone can run some tests with the module.

  • Shawn Parr
    Avatar
    Community Member
    60 Posts

    Re: Twitter module - now available to download Link to this post

    Hey Nivanka,

    I just found this and threw it on a test install. One feature enhancement might be to sanitize the twitter status. I.e. One of my twitter statuses includes an ampersand (&), which causes the Silverstripe TwitterPage to give an XMLParsingError page (the yellow error page).

    At least I think that is why it gives me the XML error, it points to the space after the ampersand as where the error occurs.

    Thanks!

    EDIT: Another request. I'd like to be able to set up an RSS feed from the twitterpage. I'm looking into doing this, but am going very slowly. I'm hoping you might either be able to implement it very quickly, or give me some good clues how to get started.

  • Shawn Parr
    Avatar
    Community Member
    60 Posts

    Re: Twitter module - now available to download Link to this post

    Sorry, I haven't gotten much sleep this week. The yellow page error I refer to above is generated by firefox, not silverstripe.

    Either way, if a tweet has an ampersand, or potentially other special characters, it gives an XML parsing error.

    Oh, and rss is still at the top of my desired feature list.

  • Shawn Parr
    Avatar
    Community Member
    60 Posts

    Re: Twitter module - now available to download Link to this post

    I've been playing with this more this morning. It seems like the twitter feed will not update unless the site is flushed? Is there a way to get the feed updated without doing a /?flush=1?

    UPDATE: so far it seems like the cache is flushed about once every hour or so. For how we plan on using this that will be more than adequate.

  • George
    Avatar
    Community Member
    41 Posts

    Re: Twitter module - now available to download Link to this post

    Hello,

    after the Silverstripe update to 2.3.3 from 2.3.2 the followings are not any more shown.
    Only the avatars are on the page.

    Any ideas?

  • bmc38119
    Avatar
    Community Member
    45 Posts

    Re: Twitter module - now available to download Link to this post

    How do i add the date posted to the Status.ss file? I have added $Time variable to the Status.ss file and it outputs in Unixtime format. I try to use format functions ($Time.format(d)) but no luck.

  • michaelhmm
    Avatar
    Community Member
    23 Posts

    Re: Twitter module - now available to download Link to this post

    I have ironed out the bug causing the ampersand problem in the feeds by passing them through a static method the SilverStripe Convert class.

    Since there were other illegal characters getting into the feeds I am beginning to wonder if there are problems with the xml coming from twitter but haven't had time to look at this yet. This could easily result in the Avatars only to display as posted above.

    I am happy to share the code that I have running but I have only a little experience in object oriented programming so am not sure if it's in line with SilverStripe coding conventions. I have tried contacting the author via email about this but had no reply yet.

  • Taffy
    Avatar
    Community Member
    119 Posts

    Re: Twitter module - now available to download Link to this post

    You might get better luck contacting him through twitter @ http://twitter.com/nivankafonseka

    5627 Views
Page: 1 2 3 4
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.