CivicAppsTwitterBroadcasts: Difference between revisions

From PortlandWiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 9: Line 9:
** Four-star rating reached with <code>hook_votingapi($op = 'insert')</code>
** 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.
[[Category:Brainstorming]]

Latest revision as of 14:23, 8 May 2011

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.