TwitterTweeter - a real twitter client for Serendipity

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
blog.brockha.us
Regular
Posts: 695
Joined: Tue Jul 03, 2007 3:34 am
Location: Berlin, Germany
Contact:

Re: TwitterTweeter - a real twitter client for Serendipity

Post by blog.brockha.us »

Well, right, but both of those: json and simple_xml can be replaced by PHP4 compatible code.

For json in example I added an extra class, that is declaring json_decode if not declared already.
- Grischa Brockhaus - http://blog.brockha.us
- Want to make me happy? http://wishes.brockha.us/
soul-mole
Regular
Posts: 5
Joined: Wed Jun 10, 2009 9:26 pm
Location: Germany
Contact:

Re: TwitterTweeter - a real twitter client for Serendipity

Post by soul-mole »

blog.brockha.us wrote:Didn't know the problem with "&" and twitter in example. :)
I did a bit of research on this.

It's caused by cURL and not the Twitter API, as multiple CURLOPT_POSTFIELDS are separated by ampersands.

This behaviour can be avoided by applying url_encode() to the input. Although I don't know, if there are raised new problems by this.
blog.brockha.us
Regular
Posts: 695
Joined: Tue Jul 03, 2007 3:34 am
Location: Berlin, Germany
Contact:

Re: TwitterTweeter - a real twitter client for Serendipity

Post by blog.brockha.us »

Ah, okay, thanks for the info. curl is not used in my plugin, so I should not have this problem, I hope.
I have to test it.
- Grischa Brockhaus - http://blog.brockha.us
- Want to make me happy? http://wishes.brockha.us/
soul-mole
Regular
Posts: 5
Joined: Wed Jun 10, 2009 9:26 pm
Location: Germany
Contact:

Re: TwitterTweeter - a real twitter client for Serendipity

Post by soul-mole »

Pretty amazing, what you've made out of these (limited) plug-ins. I even can hardly spot any structure on the first glimpse that's left from me. :D

It's a pity I neither use Twitter nor Serendipity. xD


I think this thread can be closed/neglected in favor of a new one, because Grischa's final plug-in plays in a totally different league.
blog.brockha.us
Regular
Posts: 695
Joined: Tue Jul 03, 2007 3:34 am
Location: Berlin, Germany
Contact:

Re: TwitterTweeter - a real twitter client for Serendipity

Post by blog.brockha.us »

soul-mole wrote:Pretty amazing, what you've made out of these (limited) plug-ins. I even can hardly spot any structure on the first glimpse that's left from me. :D
:D

But it's all there, except the twitter and url shortener code. I used your code to display the TwitterTweeter and all your Javascript. And I transfered all the HTML Code of your plugin into include files, because I personally like to part code from views.

But except from this it's still all there. :)
soul-mole wrote:Grischa's final plug-in plays in a totally different league.
Thanks for the flowers, as we Germans say, but the TwitterTweeter wouldn't be there without your code! Thanks again for sharing it!
- Grischa Brockhaus - http://blog.brockha.us
- Want to make me happy? http://wishes.brockha.us/
robert
Regular
Posts: 1063
Joined: Mon May 09, 2005 9:17 pm
Location: Vienna, Austria
Contact:

Re: TwitterTweeter - a real twitter client for Serendipity

Post by robert »

Thanks to both of you :-)
Von 2005 bis 2020 nutzte ich Serendipity/S9y. Auch nach meinem Umstieg bin ich S9y weiterhin in Gedanken verbunden. Ein Dank ergeht an alle Forumsteilnehmer:innen, die mir hier weitergeholfen haben.

Nur ein Blog
seraphyn
Regular
Posts: 211
Joined: Fri Dec 01, 2006 8:42 am
Contact:

Re: TwitterTweeter - a real twitter client for Serendipity

Post by seraphyn »

Do not bother me, but identi.ca is allready there too, and posting to identi.ca parses from identi.ca to Twitter. Hope "Dentists" wouldn't be forgotten while coding such a nice plugin.
Greetings
Chris
blog.brockha.us
Regular
Posts: 695
Joined: Tue Jul 03, 2007 3:34 am
Location: Berlin, Germany
Contact:

Re: TwitterTweeter - a real twitter client for Serendipity

Post by blog.brockha.us »

I'm not quite sure, if I understood you.. :)

You are requesting identica support? Or what is it? :)
If this is the case, it is already planned, but I am not sure, when to find the time for this. But I'm still on it. :)
- Grischa Brockhaus - http://blog.brockha.us
- Want to make me happy? http://wishes.brockha.us/
seraphyn
Regular
Posts: 211
Joined: Fri Dec 01, 2006 8:42 am
Contact:

Re: TwitterTweeter - a real twitter client for Serendipity

Post by seraphyn »

blog.brockha.us wrote:I'm not quite sure, if I understood you.. :)

You are requesting identica support? Or what is it? :)
Jepp, Identi.ca would be wonderfull...
blog.brockha.us wrote:If this is the case, it is already planned, but I am not sure, when to find the time for this. But I'm still on it. :)
Thanks. That was everything i would like to know. Keep up the good work and take the time you need. If you need someone to translate or for testing proposes don't hold off to ask me.
Greetings
Chris
blog.brockha.us
Regular
Posts: 695
Joined: Tue Jul 03, 2007 3:34 am
Location: Berlin, Germany
Contact:

Re: TwitterTweeter - a real twitter client for Serendipity

Post by blog.brockha.us »

identi.ca support was build in recently. :)

Only tweetbacks from identi.ca are not searched, as the identi.ca search api is to buggy and bad implemented for that..
- Grischa Brockhaus - http://blog.brockha.us
- Want to make me happy? http://wishes.brockha.us/
seraphyn
Regular
Posts: 211
Joined: Fri Dec 01, 2006 8:42 am
Contact:

Re: TwitterTweeter - a real twitter client for Serendipity

Post by seraphyn »

Great THX. I'll test it. But at the moment I've first need to repair my Laptop.
Greetings Chris
Don Chambers
Regular
Posts: 3657
Joined: Mon Feb 13, 2006 2:40 am
Location: Chicago, IL, USA
Contact:

Re: TwitterTweeter - a real twitter client for Serendipity

Post by Don Chambers »

Grischa,

I finally got around to looking at this plugin.

1) The plugin configuration tab "ALL" does not include the section "Tweet this".

2a) Would it be possible to get a configuration option for the behavior of the include/exclude entry from microblogging checkbox? Right now, the default behavior is to INCLUDE entries UNLESS the box is checked. I actually want the exact opposite. How about a global config option to set the default value for this checkbox as checked or not checked.

2b) Any chance for an option where only posts assigned to specific category/categories are included in the twitter feed?

3) Do entries that were not originally posted to twitter get added if later edited? Reason I ask is that I edited/saved an entry that existed before the twitter plugin was installed. I would have expected it to be added to the feed as soon as it was re-saved, but it was not. Secondary question - if an entry was originally included in the Twitter feed, then later edited and marked as NOT included in the Twitter feed, would it be automatically deleted from the Twitter Feed?

4) suggest you include the image dimensions for the Tweet This! button to help with older versions of MSIE...

This:

Code: Select all

<img src="/plugins/serendipity_plugin_twitter/img/tt-micro-white.png" alt="Tweet This!" border="0" />
becomes this:

Code: Select all

<img src="/plugins/serendipity_plugin_twitter/img/tt-micro-white.png" width="80" height="15" alt="Tweet This!" border="0" />
=Don=
hagenroewer
Regular
Posts: 181
Joined: Mon Aug 14, 2006 12:41 am
Contact:

Re: TwitterTweeter - a real twitter client for Serendipity

Post by hagenroewer »

Hi Grischa,

i repeat Don´s question:
Don Chambers wrote: 2b) Any chance for an option where only posts assigned to specific category/categories are included in the twitter feed?
Any chance?

Best regards,
Gruß von der Ruhr
Hagen Röwer Dienstlich | XING | LinkedIn
Post Reply