Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#16 2009-12-17 22:23:20

Destry
Member
From: Haut-Rhin
Registered: 2004-08-04
Posts: 4,912
Website

Re: TXP Tweet: arc_twitter and arc_twitter_intents

monkeyninja wrote:

(I like the idea of adding hashtags to the end of the tweet).

I agree with you there, Andy. This does seem to be the de facto way of doing it in the Twittersphere, and it just makes sense; you read the message and then see the context. Done.

Offline

#17 2010-01-01 20:54:48

Qwest
Member
From: London, UK
Registered: 2007-01-24
Posts: 112

Re: TXP Tweet: arc_twitter and arc_twitter_intents

Thank you so much for this plugin. So easy to use & implement.

I’d like to echo speeke & monkeyninja’s comments. I’d love to be able to use smd_short_url’s short url’s instead of other url shorteners. I’d also love to add hashtags to the end of the tweets.

I’d also like to schedule posts to go ‘live’ in the future (which is more than capable with TXP) but have the tweet published when the post goes live in the future. At the moment, it ignores any posts which are scheduled.

Good work :)

Offline

#18 2010-01-03 18:57:09

monkeyninja
Plugin Author
From: Sheffield, UK
Registered: 2008-10-14
Posts: 239
Website

Re: TXP Tweet: arc_twitter and arc_twitter_intents

Sorry for the slow response, the last month has been somewhat eventful. A new version of the plugin is in the works and should include a new prefix/suffix feature and improved public tags to accommodate Destry’s original request.

speeke wrote:

Hi Andy, just wondering:

1. what type of url shortening your plugin uses? I am using Stef’s smd_short_url plugin on my site, which produces urls in the format: site.com/article_ID. I’d like to provide the links in this format if possible.

2. how the articles are truncated to Twitter’s 140 character limit? Is it possible to optionally instruct your plugin to accept the excerpt as the text (where the excerpt text is less than or equal to 140 characters, naturally)?

PS: I also left a comment on your website – sorry for the duplication, but thought this may be the better place to post my queries.

In answer to your questions:-

  1. Currently arc_twitter is using TinyURLs I am looking into using other methods in the future, possibly providing a choice. I haven’t seen Stef’s plugin, but I will check it out when I get chance to start working on this.
  2. Tweets are constructed from the article title with the shortened URL appended to the end; the next major release of the plugin will allow you to add text to the front and end of the tweet. I hadn’t really considered using the excerpt as the text. Incidentally if the article title + shortened url are more than 140 characters long the article title will be automatically shortened; obviously the new prefix/suffix feature will affect this too.

Offline

#19 2010-01-03 20:41:59

drnoble
New Member
Registered: 2010-01-02
Posts: 3

Re: TXP Tweet: arc_twitter and arc_twitter_intents

Andy,

Just a quick note to add my thanks for this plugin, and note support for the option of using http://mysite.com/ID# short links plus tweet prefix/suffixes.

I am using gbp_permanent_links on my site, and have hardcoded these two changes in to your plugin; but it would be nice to have a UI for them!

Also, when truncating, would it be possible to use the ellipsis character (…) rather than three dots (which would save two of the 140 characters!)

Offline

#20 2010-01-15 09:40:23

Destry
Member
From: Haut-Rhin
Registered: 2004-08-04
Posts: 4,912
Website

Re: TXP Tweet: arc_twitter and arc_twitter_intents

monkeyninja wrote:

Sorry for the slow response, the last month has been somewhat eventful. A new version of the plugin is in the works and should include a new prefix/suffix feature and improved public tags to accommodate Destry’s original request.

Sounds great!

Offline

#21 2010-01-16 19:04:46

monkeyninja
Plugin Author
From: Sheffield, UK
Registered: 2008-10-14
Posts: 239
Website

Re: TXP Tweet: arc_twitter and arc_twitter_intents

speeke wrote:

Just wondering if you have an eta on the next major release? Won’t hold you to it, just thought I’d ask “the question” ;)

Hopefully very soon. I’ve started to test and tweak the two main new features of the plugin that will be included in the next release. The documentation also needs updating a little to take into account the new tag that will come with this new version. A bug with the cache directory option when handled through the plugin’s admin page will also be rectified.

This next release won’t be tackling the choice of URL shortening as has been requested by a number of people, but I will hopefully start looking into that afterwards. This may be influenced by how people respond to the interface for the prefix/suffix. I think it is important that the UI works well before adding further options.

drnoble wrote:

Also, when truncating, would it be possible to use the ellipsis character (…) rather than three dots (which would save two of the 140 characters!)

I agree the ellipsis character would be much nicer; however, I am not sure what will happen when parsing it in terms of how it will get encoded. It may take the tweet over the limit if not careful. I will investigate.

Offline

#22 2010-01-24 18:22:49

monkeyninja
Plugin Author
From: Sheffield, UK
Registered: 2008-10-14
Posts: 239
Website

Re: TXP Tweet: arc_twitter and arc_twitter_intents

I’ve just released arc_twitter version 0.2.

New features:-

  • Prefix and suffix article tweets using the “Twitter Update” options
    • You can set a default prefix through the plugin preferences page
  • arc_twitter_search tag – outputs results for specific keywords, hashtags, mentions, etc.
  • Improved mentions and hashtag linking when updates are rendered

Fixes:-

  • The preference page will now properly update when the cache directory is changed

When upgrading from an earlier version you may want to change/remove the default prefix on the preferences page.

A big thanks to everyone here who has helped inspire me to develop and improve this plugin. I’m really pleased people are finding this useful.

Off to drink beer now…

Last edited by monkeyninja (2010-01-24 18:23:17)

Offline

#23 2010-01-25 11:44:33

geoff777
Plugin Author
From: Benarrabá Andalucía Spain
Registered: 2008-02-19
Posts: 282
Website

Re: TXP Tweet: arc_twitter and arc_twitter_intents

Hi,

I regularly tweet articles. (over 6,000 tweets so far!) This will save me a lot of time.

Although there isn´t a set way to tweet, most people who use hash tags add them before the URL.

I easily changed this in the plugin code.

Thanks for this plugin.

Geoff

Follow www.the-rock-of-gibraltar.com on Twitter


There are 10 types of people in the world: those who understand binary, and those who don’t.

Offline

#24 2010-02-01 18:30:54

decoderltd
Member
From: London
Registered: 2006-06-20
Posts: 248
Website

Re: TXP Tweet: arc_twitter and arc_twitter_intents

Hi Andy,

Congrats on a really useful plug-in and it’s very elegantly implemented.

It doesn’t look like a similar error from an earlier post was solved, but when I try and tweet an article I get the following error:

Notice: Trying to get property of non-object in /..../textpattern/lib/txplib_misc.php(594) : eval()'d code on line 360

Everything looks fine in the Twitter extension tab where I can see my current tweets, any ideas on what could be causing the error?

UPDATE:
I’ve used the plug-in a couple of times now and it’s actually sending the tweet, but still throwing-up the above error and the Twitter panel doesn’t update showing that the tweet has been posted. Anyone have any ideas, it’s not ideal for clients to be confronted with such cryptic messages!

Last edited by decoderltd (2010-02-03 11:40:13)

Offline

#25 2010-02-04 13:32:18

monkeyninja
Plugin Author
From: Sheffield, UK
Registered: 2008-10-14
Posts: 239
Website

Re: TXP Tweet: arc_twitter and arc_twitter_intents

decoderltd wrote:

Hi Andy,

Congrats on a really useful plug-in and it’s very elegantly implemented.

It doesn’t look like a similar error from an earlier post was solved, but when I try and tweet an article I get the following error:

Notice: Trying to get property of non-object in /..../textpattern/lib/txplib_misc.php(594) : eval()'d code on line 360

Everything looks fine in the Twitter extension tab where I can see my current tweets, any ideas on what could be causing the error?

UPDATE:
I’ve used the plug-in a couple of times now and it’s actually sending the tweet, but still throwing-up the above error and the Twitter panel doesn’t update showing that the tweet has been posted. Anyone have any ideas, it’s not ideal for clients to be confronted with such cryptic messages!

Whilst testing the plugin I have yet to come across this error myself. You say that it is actually updating Twitter, just not recording this on the website. Could you point me in the direction of the specific tweets sent? It may enable me to recreate a similar error when testing the plugin.

I had originally said I would add error reporting into the plugin. I still intend doing this and it was briefly considered for the last release, but the way the plugin is called in the article edit screen adds a little complication to this that needed some careful thought so wasn’t built in as part of the v0.2 release. I will take a look at the code over the next few days to see about integrating this functionality in and also at least find a way of suppressing the unsightly error message from PHP.

Hopefully we will be able to track down the cause of this error and kill it for good soon.

Offline

#26 2010-02-04 14:10:19

decoderltd
Member
From: London
Registered: 2006-06-20
Posts: 248
Website

Re: TXP Tweet: arc_twitter and arc_twitter_intents

Thanks for getting back to me Andy.

You can view the actual Tweets on our Twitter page, they are the two ‘just posted’ entries near the top – and the articles that generated them are here and here. Or did you need something more specific?

Offline

#27 2010-02-04 17:53:42

philwareham
Core designer
From: Haslemere, Surrey, UK
Registered: 2009-06-11
Posts: 3,566
Website GitHub Mastodon

Re: TXP Tweet: arc_twitter and arc_twitter_intents

Hi,

Thanks for the plugin, looks great. One feature request though, it would be handy to have the option of not tweeting articles by default (so the user has to turn it on per required article). On my site it would only be news items and blog items that would need to be tweeted really, so an opt-in method as opposed to an opt-out method would be a handy option. Could be part of the preferences (similar to the comments toggle).

Offline

#28 2010-02-08 18:47:12

monkeyninja
Plugin Author
From: Sheffield, UK
Registered: 2008-10-14
Posts: 239
Website

Re: TXP Tweet: arc_twitter and arc_twitter_intents

decoderltd wrote:

Thanks for getting back to me Andy.

You can view the actual Tweets on our Twitter page, they are the two ‘just posted’ entries near the top – and the articles that generated them are here and here. Or did you need something more specific?

If the articles are actually being tweeted then it sounds like the problem is with whatever Twitter is returning to Textpattern. It sounds like the plugin is working fine otherwise.

I didn’t get the time over the weekend that I had hoped for to work on this. I’ll attempt to put together something for you this week that will provide some form of error reporting. This should at least help us to understand what Twitter is returning (if anything). I’ll also make sure that the PHP error is fixed so that it no longer appears (as it is just plain ugly to see that).

Out of interest, has the plugin ever returned the tweet on article submission or have you always had this error? I’m just a little confused as I (and others) haven’t had this problem.

philwareham wrote:

Thanks for the plugin, looks great. One feature request though, it would be handy to have the option of not tweeting articles by default (so the user has to turn it on per required article).

I’ll see what I can do for you (it would be helpful to me too).

Offline

#29 2010-02-09 11:45:05

decoderltd
Member
From: London
Registered: 2006-06-20
Posts: 248
Website

Re: TXP Tweet: arc_twitter and arc_twitter_intents

Thanks Andy. In response to your question, yes, the error has always occurred – but at least if the PHP message doesn’t appear it looks better to clients.

Offline

#30 2010-02-13 12:25:02

SuMu
Member
From: Germany - Wuppertal
Registered: 2008-03-06
Posts: 242
Website

Re: TXP Tweet: arc_twitter and arc_twitter_intents

It works for me :-)
Is ist possibel to show the blog-article title as as hyperlink on twitter?

Ganz frisch: Twitter http://tinyurl.com/y8funmm

and in the future or next version of the plugin ;-):

Ganz frisch: Twitter

Last edited by SuMu (2010-02-13 13:12:16)


viele Grüße
SuMu

Psychomuell + blogZicke

Offline

Board footer

Powered by FluxBB