Hash tag and post type substitution support

cafuego - April 17, 2009 - 03:29
Project:Twitter
Version:6.x-2.x-dev
Component:Code
Category:feature request
Priority:critical
Assigned:Unassigned
Status:needs review
Issue tags:tags
Description

I added support for !terms and !type substitution to the module.

!terms inserts a list of associated taxonomy terms, whilst !type is the human readable node type.

The patch is attached, it applies cleanly to 2.3 and 2.x-dev.

AttachmentSize
twitter-terms-type.patch1.96 KB

#1

cafuego - April 17, 2009 - 09:19
Title:Has tag and post type substutution support» Hash tag and post type substutution support

Updated patch to ensure taxonomy terms exist *before* the node is saved.

AttachmentSize
twitter-terms-type.1.patch 2.05 KB

#2

jpp - April 18, 2009 - 02:56

Shouldn't that be

$taxonomy_array[] = preg.replace('/\s/',"","#{$term->name}");

to handle multi word terms?

Otherwise great patch.

#3

cafuego - April 19, 2009 - 03:22

Um... yes? :-)

AttachmentSize
twitter-terms-type.2.patch 2.08 KB

#4

podarok - May 17, 2009 - 10:23
Priority:normal» critical

waiting for release!
subscribe

#5

podarok - May 17, 2009 - 10:33

May be better way - integrating with token?

#6

Richard Eriksson - October 24, 2009 - 05:05
Title:Hash tag and post type substutution support» Hash tag and post type substitution support
 
 

Drupal is a registered trademark of Dries Buytaert.