Page 1 of 2

TwitterTweeter - a real twitter client for Serendipity

Posted: Wed Jun 10, 2009 7:50 pm
by laemmy
Hi there,

a few months ago I've programmed a simple php based twitter client which is using libcurl. After that I've ported this client to my favourite commercial cms. But now this client is although available for my favourite blogging software which everyone of you knows :D

A few weeks ago a junior php developer joined my company for a short training. Together we've created this application. He wrote most part of the source and I've told him how some things are to do. Furthermore some CSS things are written by me - but that's not worth mentioning.

Functions:
  • send tweets from admin frontpage
  • read your recent timeline at admin frontpage
  • send your new blog entries automatically after publishing to twitter
  • get nice short urls
Screenshots:
ImageImage

Important
This client is provided as is and comes without warranty. You use it on your own risk! Be carefully and create backups

Download
http://7ax.de/twittertweeter

Re: TwitterTweeter - a real twitter client for Serendipity

Posted: Wed Jun 10, 2009 8:34 pm
by garvinhicking
Hi!

Hey, that's great news. Funny thing, grischa brockhaus also just started to work on such a plugin this week. Maybe we can see how those two plugins intersect, and either merge them or see if they have their own usage scenarios so that both plugins could co-exist.

I'll bump grischa to this topic, as I'll be quite busy until at least this weekend.

Thanks for your work, and especially from your trainee :)

Regards,
Garvin

Re: TwitterTweeter - a real twitter client for Serendipity

Posted: Wed Jun 10, 2009 8:46 pm
by blog.brockha.us
Right. At the moment I am improving the s9y twitter plugin a little bit.

My enhancements does this, too: "send your new blog entries automatically after publishing to twitter"
Did you implement tagging?

Another feature will be Tweetbacks, what is nearly ready.

Re: TwitterTweeter - a real twitter client for Serendipity

Posted: Wed Jun 10, 2009 9:26 pm
by garvinhicking
Hi!

What I like about laemmys screenshot is that you get your twitter timeline plus posting ability from within your blog. I believe that's not going to be covered by grischa's plugin?

In turn, grischa's "post new entries" is, from what I've heard, quite powerful regarding automatted tagging and inclusion of content...

So I think this frontend view of laemmys plugin could definitely be useful, the posting maybe can be taken from grischa, so that we can have an ultimate twitter plugin, complete with tweetbacks? :-)

One thing I found out that wordpress-people dislike is that there are 3 major twitter plugins, each with similar functionality, and nobody really knows which one to prefer. So if we could join forces to put online one single, awesome plugin - that would be great.

Regards,
Garvin

Re: TwitterTweeter - a real twitter client for Serendipity

Posted: Wed Jun 10, 2009 10:00 pm
by Don Chambers
Nice job Silvio! Hope you and Grischa can work together toward a single, feature rich plugin. I must be the last person on Earth not using Twitter, so unfortunately, I cannot test it!

Re: TwitterTweeter - a real twitter client for Serendipity

Posted: Wed Jun 10, 2009 10:02 pm
by soul-mole
Hi there!

I'm the one responsible for this plugin.

There absolutely is room for enhancements in it, but this is why it is posted here. Don't we all just want good and open software?

I hope my code isn't too desolate and if there should be any questions, I'll be available. :)

Re: TwitterTweeter - a real twitter client for Serendipity

Posted: Wed Jun 10, 2009 10:15 pm
by Don Chambers
Welcome aboard soul-mole! Your contributions are definitely appreciated. I think Garvin is trying to suggest that you and Grischa work together, if possible, so the s9y community has a single twitter plugin that combines all the best ideas and code.

Keep up the great work!

Re: TwitterTweeter - a real twitter client for Serendipity

Posted: Wed Jun 10, 2009 10:36 pm
by soul-mole
Whatever it takes to achieve perfection!

If Grischa or someone else is interested in sharing/merging ideas/code, I will do anything but decline. :)

Not to mention my work is open and free, so anyone could do whatever he wants to with it. Except for saying it is his own without doing any major changes. xD

Re: TwitterTweeter - a real twitter client for Serendipity

Posted: Wed Jun 10, 2009 11:35 pm
by blog.brockha.us
I will look into your plugin code later. First I want to finish my enhancements, as they are build on the original twitter plugin. But I think, we can easily merge later, as we cover different kind of stuff (except for the article announcements).

Re: TwitterTweeter - a real twitter client for Serendipity

Posted: Thu Jun 11, 2009 1:38 am
by blog.brockha.us
Hi soul-mole!

I looked into your plugin. Nice code! Didn't know the problem with "&" and twitter in example. :)

I see a little problem with the plugin, as it needs PHP5 installed, but that could easily be changed. If you don't mind, I try to merge your code to the original s9y plugin and port your code to PHP4. I will honor you in the authors list of the plugin, of course. What do you think?

If you are interested in my actual code, I'm happy to send it to you, but it will appear in Spartacus soon, too. I have to clean up some debug code and test it a little more first.

P.S.: What's your twitter account, soul-mole? Mine is gbrockhaus.

Re: TwitterTweeter - a real twitter client for Serendipity

Posted: Thu Jun 11, 2009 8:54 am
by laemmy
The twitter account of soule-mole is meinebaustelle our developer account :-D

Re: TwitterTweeter - a real twitter client for Serendipity

Posted: Thu Jun 11, 2009 12:40 pm
by soul-mole
Use and port whatever is necessary. :)

I'm always eager to see different approaches and will be patient until the plugin is finished and published.

Re: TwitterTweeter - a real twitter client for Serendipity

Posted: Thu Jun 11, 2009 4:02 pm
by garvinhicking
Hi Grischa!

I believe your plugin also uses json_encode, which is PHP5 only. I think it's okay to raise the dependency to PHP5 for this plugin, the functions benefit that.

Regard,s
Garvin

Re: TwitterTweeter - a real twitter client for Serendipity

Posted: Thu Jun 11, 2009 6:12 pm
by blog.brockha.us
Thanks lammy and soul-mole!

@Garvin: I used json in order to have something PHP4 conform.. Or not.. I used it to have no licensing problems. The RSS version of the search is unofficial and not reliable and the atom reader is not matching our license.. So I used json not noticing, that it needs PHP5.. :(

I tried not to use simple_xml, as it is PHP5, too.. I can use it, if I use json.. :roll:

Thanks for the hints! I have to think about what to do.. I would like it to have a PHP4 version of the plugin.. But I noticed, the sidebar plugin already needs PHP5 as it makes use of simple_xml...

P.S.: This might help on json.
P.P.S: Jep, this is a good replacement for json_*. It's working here, so I can have my plugin php4 compatible. :)

Re: TwitterTweeter - a real twitter client for Serendipity

Posted: Fri Jun 12, 2009 4:27 pm
by garvinhicking
Hi!

Twitter and flickr are IMHO perfect examples of where PHP5 really rocks a developer's world. I see no need to be self-castrating and not use PHP5 features here, where they bring a enormous advantage.

Regards,
Garvin