Proper setting in event_twitter for tags from even_freetag

Creating and modifying plugins.
Post Reply
LazyBadger
Regular
Posts: 176
Joined: Mon Aug 25, 2008 12:25 pm
Location: Russia
Contact:

Proper setting in event_twitter for tags from even_freetag

Post by LazyBadger »

I want to have hash-tags in Twitter (identical to post tags) without additional copy-paste in editor
With current settings

Announce with tags - yes
Announce format - Blog update: #title# #link# #tags#

I had to copy tags into input serendipity[properties][microblogging_tagList] from post-tags in order to get tags on twitter, because empty input ignore tags
Examples
This tweet doesn't have any hash-tags after link (posted with empty twitter-specific tags), even source have tag-set
This tweet show tags, which was added manually
Quis custodiet ipsos custodes?
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Proper setting in event_twitter for tags from even_freet

Post by garvinhicking »

Hi!

Can you be more specific? I don't really understand :)

Please be patient with me, but in many posting of yours I only seem to get half of what you are writing. :-) Maybe you can be extra careful when describing things :-)

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/
LazyBadger
Regular
Posts: 176
Joined: Mon Aug 25, 2008 12:25 pm
Location: Russia
Contact:

Re: Proper setting in event_twitter for tags from even_freet

Post by LazyBadger »

Please be patient with me, but in many posting of yours I only seem to get half of what you are writing
No problem!

Short version
I want to announce into twitter with post tags without 2-nd writing by hand (I'm lazy) and can't discover proper combination of settings for this

Long version
I have both event_twitter and event_freetag on my blogs. I want to see twitter-announces with post's tags and don't want C&P tags from one field to another in editor. But with settings
Announce with tags - yes
Announce format - Blog update: #title# #link# #tags# (tags keyword added to string)
my tags are missed in announce. Single way to get tags is clone tags-string into tags-input for twiter-data

Is it more clean now?
Quis custodiet ipsos custodes?
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Proper setting in event_twitter for tags from even_freet

Post by garvinhicking »

Hi!

Have you made sure that your freetag plugin is ordered before the twitter plugin? This is important, because if the twitter plugin is executed first, it knows nothing of any tags.

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/
LazyBadger
Regular
Posts: 176
Joined: Mon Aug 25, 2008 12:25 pm
Location: Russia
Contact:

Re: Proper setting in event_twitter for tags from even_freet

Post by LazyBadger »

garvinhicking wrote: Have you made sure that your freetag plugin is ordered before the twitter plugin?
Was not sure, now tested one more time, moved event_twitter to almost bottom (only extended properties for entries after), see twitter after freetag, but (with old settings) results are far from expected
This post (fresh example) has 5 tags (3 English, 2 Russian). It's announce got just one tag from freetag - #DrupalCommons. This is, sure, better than none, but I prefer all tags, even russian
Quis custodiet ipsos custodes?
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Proper setting in event_twitter for tags from even_freet

Post by garvinhicking »

Hi!

I believe the plugin automatically adds as many tags until it hits a char limit. The char limit may be calculated before tinyurl conversion. Can you try with a short entry and see if it adds more tags? Beware of the 140 char limit of twitter...

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/
LazyBadger
Regular
Posts: 176
Joined: Mon Aug 25, 2008 12:25 pm
Location: Russia
Contact:

Re: Proper setting in event_twitter for tags from even_freet

Post by LazyBadger »

garvinhicking wrote: I believe the plugin automatically adds as many tags until it hits a char limit
Yes, it seems so - I didn't add new post, but found old from my inhouse playground
This tweet have 4 tags from 5 (one - inline)... From the other side text with added tags have size only 103 bytes, with all tags it become 117.
Yes, all no-tags tweets reach or even exceed the length limit. Thank you, all clean now
Quis custodiet ipsos custodes?
Post Reply