mzehrer / tweetlyupdater

Automatically exported from code.google.com/p/tweetlyupdater
0 stars 0 forks source link

Category name somewhere in the tweet #10

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Maybe the first category name somewhere in the tweet will be good, because
just the title isn\'t always a descriptive way to say what are you linking to

this is what i\'ve done:
after title variable initialization
       $cat=get_the_category($post_ID);
       $categories = $cat[0]->cat_name;

and this in the variable concatenation:
$thisposttitle = $categories . \' | \' .$thisposttitle . \' \' . $shortlink;

Original issue reported on code.google.com by mizeh...@gmail.com on 1 Jul 2009 at 6:16

GoogleCodeExporter commented 9 years ago
Fixed in version 1.1.3

Original comment by mizeh...@gmail.com on 30 Aug 2009 at 2:17