CivicAppsTwitterBroadcasts: Difference between revisions

From PortlandWiki
Jump to navigation Jump to search
(Created page with '= CivicApps Twitter Broadcasts = Brainstorming on Twitter broadcasts of new content (datasets, ideas, apps) on CivicApps: * Hook into Drupal's node_insert to publicize new con…')
 
No edit summary
Line 3: Line 3:
Brainstorming on Twitter broadcasts of new content (datasets, ideas, apps) on CivicApps:  
Brainstorming on Twitter broadcasts of new content (datasets, ideas, apps) on CivicApps:  


* Hook into Drupal's node_insert to publicize new content immediately.
* Hook into Drupal's <code>hook_nodeapi($op = 'insert')</code> to publicize new content immediately.
** Simple data: Node title (since it's probably short enough), short link back to site
** Simple data: Node title (since it's probably short enough), short link back to site
* Later, re-post content if it hits certain thresholds:  
* Later, re-post content if it hits certain thresholds:  
** Fifth comment left
** Fifth comment left with <code>hook_comment($op = 'insert')</code>
** Four-star rating reached
** Four-star rating reached with <code>hook_votingapi($op = 'insert')</code>
** Provide more info: "Hot idea!", "Four stars in six days!", "Five comments!", etc.
** Provide more info: "Hot idea!", "Four stars in six days!", "Five comments!", etc.

Revision as of 14:15, 3 June 2010

CivicApps Twitter Broadcasts

Brainstorming on Twitter broadcasts of new content (datasets, ideas, apps) on CivicApps:

  • Hook into Drupal's hook_nodeapi($op = 'insert') to publicize new content immediately.
    • Simple data: Node title (since it's probably short enough), short link back to site
  • Later, re-post content if it hits certain thresholds:
    • Fifth comment left with hook_comment($op = 'insert')
    • Four-star rating reached with hook_votingapi($op = 'insert')
    • Provide more info: "Hot idea!", "Four stars in six days!", "Five comments!", etc.