The Serendipity Handbook

You can now read the (german) handbook here: PDF - https://github.com/s9y/Book (LaTeX source).

Forum-Information

Before posting about errors, make sure that the answer cannot already be found in our FAQ or by searching this forum!
Posting is restricted to registered users (registering is free and simple!) due to recent spam attacks. When having trouble with this board, contact garvin(-at)s9y(-dot)org.

Board index General discussions TwitterTweeter - a real twitter client for Serendipity

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
laemmy
Regular
 
Posts: 40
Joined: Sun Nov 19, 2006 6:13 pm

Postby laemmy » Wed Jun 10, 2009 7:50 pm

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
Some s9y projects

User avatar
garvinhicking
Core Developer
 
Posts: 28944
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany

Postby garvinhicking » Wed Jun 10, 2009 8:34 pm

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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/

User avatar
blog.brockha.us
Regular
 
Posts: 695
Joined: Tue Jul 03, 2007 3:34 am
Location: Berlin, Germany

Postby blog.brockha.us » Wed Jun 10, 2009 8:46 pm

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.
- Grischa Brockhaus - http://blog.brockha.us
- Want to make me happy? http://wishes.brockha.us/

User avatar
garvinhicking
Core Developer
 
Posts: 28944
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany

Postby garvinhicking » Wed Jun 10, 2009 9:26 pm

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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/

User avatar
Don Chambers
Regular
 
Posts: 3077
Joined: Mon Feb 13, 2006 3:40 am
Location: Chicago, IL, USA

Postby Don Chambers » Wed Jun 10, 2009 10:00 pm

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!

soul-mole
Regular
 
Posts: 5
Joined: Wed Jun 10, 2009 9:26 pm
Location: Germany

Postby soul-mole » Wed Jun 10, 2009 10:02 pm

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. :)

User avatar
Don Chambers
Regular
 
Posts: 3077
Joined: Mon Feb 13, 2006 3:40 am
Location: Chicago, IL, USA

Postby Don Chambers » Wed Jun 10, 2009 10:15 pm

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!

soul-mole
Regular
 
Posts: 5
Joined: Wed Jun 10, 2009 9:26 pm
Location: Germany

Postby soul-mole » Wed Jun 10, 2009 10:36 pm

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

User avatar
blog.brockha.us
Regular
 
Posts: 695
Joined: Tue Jul 03, 2007 3:34 am
Location: Berlin, Germany

Postby blog.brockha.us » Wed Jun 10, 2009 11:35 pm

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).
- Grischa Brockhaus - http://blog.brockha.us
- Want to make me happy? http://wishes.brockha.us/

User avatar
blog.brockha.us
Regular
 
Posts: 695
Joined: Tue Jul 03, 2007 3:34 am
Location: Berlin, Germany

Postby blog.brockha.us » Thu Jun 11, 2009 1:38 am

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.
- Grischa Brockhaus - http://blog.brockha.us
- Want to make me happy? http://wishes.brockha.us/

laemmy
Regular
 
Posts: 40
Joined: Sun Nov 19, 2006 6:13 pm

Postby laemmy » Thu Jun 11, 2009 8:54 am

The twitter account of soule-mole is meinebaustelle our developer account :-D
Some s9y projects

soul-mole
Regular
 
Posts: 5
Joined: Wed Jun 10, 2009 9:26 pm
Location: Germany

Postby soul-mole » Thu Jun 11, 2009 12:40 pm

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.

User avatar
garvinhicking
Core Developer
 
Posts: 28944
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany

Postby garvinhicking » Thu Jun 11, 2009 4:02 pm

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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/

User avatar
blog.brockha.us
Regular
 
Posts: 695
Joined: Tue Jul 03, 2007 3:34 am
Location: Berlin, Germany

Postby blog.brockha.us » Thu Jun 11, 2009 6:12 pm

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. :)
- Grischa Brockhaus - http://blog.brockha.us
- Want to make me happy? http://wishes.brockha.us/

User avatar
garvinhicking
Core Developer
 
Posts: 28944
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany

Postby garvinhicking » Fri Jun 12, 2009 4:27 pm

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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/

Next


Return to General discussions

Who is online

Users browsing this forum: Google [Bot] and 0 guests