Tag Archives: Newscoop

Moderating # Twitter Feeds – tweaking the free Twitter feed widget scripts for fun and sanity

 It’s easy to set up a Twitter Feed in a webpage to scroll your Tweets or the hashmarked Twitter feed from out in the world, using the free search widget. But what about when a # (hashmark) could unleash a cataract of unneeded or inappropriate content across your site?

To get a feed you just  go to Twitter.com and set a search widget up. The code can then be copied and pasted in to a regular html web page. But what if you need to moderate it for an event or mass Tweets–that can get out of hand? So if you like to hack a bit, this is fun.

I tweaked two feeds for a site so that the webmaster’s tweets would scroll by, and a selected contributor or two, or three, could stream in, too, depending. And they can moderate the entire hashmark feed out there in the Twitterverse that are not included in the tweaked search criteria and “retweet with comment” those they think are appropriate and that should should appear in the feed too–and they will, since their Twitter username is in the [modified] search criteria. The scrolling action is great and they can keep the feed under control.

You’ll need an html editor or text editor to proceed. The code below is  a screen shot image of a modified widget so you can’t copy/paste it. Enter it yourself and save or ask me here at supTweet (comments below, include email address) to send a copy of the text file (plain text.) It’s simple and works well and I suggest you use this code instead of the existing Twitter.com  service available now. (this code is two years old now in January 2013) So check out the image and move on down for your breakdown on how to get this done and running on your site and a link to a live example. Note: the widget script is contained in a table cell as seen here.

fig1_twitter_feed_widget.gif - Russ Imrie

fig1_twitter_feed_widget.gif – Russ Imrie

First: the account names – I am using fictitious account names, of course. You use yours.

  1. TwitterAcct1 (owner)
  2. TwitterAcct2 (trusted associate)
  3. remoteTweet (compound, a custom contributor – can be modified as times and events might change)
  4. #myhashmark this is up to you – REMEMBER your contributor(s) will need to include the # for the widget to pick it up – any Tweet without it will just fly on by. Neat eh?

Then the search Criteria: see “search” at line #6 in the image above

search: ‘TweetAcct1 OR TweetAcct2 OR (#myhashmark remoteTweet)’,

  1. All search criteria MUST be enclosed within single quote marks as a group
  2. multiple criteria must be separated by an UPPER CASE OR (remember nand/nor)? I am not totally sure on this but it works so…
  3. Each critical COMPOUND criteria must be enclosed in parentheses of its own
  4. WITHIN the parentheses, you need the appropriate hashmark AND the Twitter username that will be your contributor this time–note space and no other punctuation within parentheses
  5. The client has successfully used up to 4 of these temp contributors for an event

One tip – the “interval” control can be useful to add interest to a page with more than one of these feeds – varied a bit, the feeds will scroll by at different rates, cool. The colors, title, subject are all up to you. This feed runs on a page with a black background and looks awesome. It’s at http://www.indiancanyon.org and makes freshening the page a breeze.

distant US Capitol dome

U.S. Capitol SOTU eve, 2011 – photo Russ Imrie

Russell Imrie is a  Networking and Content Specialist, webmaster and an American Indian blogger living in the Washington DC area. More opinion pieces are at China Daily Mail and MediaSeenToo

Copyright © forever and 2012, 2013 by Russell Imrie

Related articles

Advertisements

Open Source Projects out there – an index: Radio, Press, Crowd-Sourcing, Maps

This is the index to open source crowd mapping sites and projects all over Planet Earth. Many use Twitter filtering, some not. Nothing here about the [doubtless] harvesting of this data by intelligence and security sources other than maybe, a pithy comment or two. That’s my story and I’m sticking to it.Please send suggestions at the comment pane bottom of this post.

Russ Imrie November 22 2012

Washington DC

Media, Film, Radio, Press:

  1. Sourcefabricposts on media/open source projects around this planet. http://us2.campaign-archive2.com/?u=6b1ad01fc31dc6604968e6439&id=3736aa77f0&e=88da1198a5
  2. Newscoop and Sourcefabric – Open source CMS tool for journalism, media  and newspapers anywhere – used in Africa, Asia, Guatemala among many more http://www.sourcefabric.org/en/newscoop/features/

Crowd Sourcing that big and small data, maps:

  1. Ushahidi – mapping and link to Crowdmap http://www.ushahidi.com/ check out “Women Under Siege” in Crowdmap – crowd-sourced data from Syria‘s civil war
  2. iRevolution“all power to the data!” Patrick Meier’s news on all things crowd-mapped http://irevolution.net/
  3. Umbraphile2006B (Classic Mac) and 2009A (OSX) Eclipse viewing software for Macintosh Computers http://nicmosis.as.arizona.edu:8000/ECLIPSE_WEB/UMBRAPHILE/UMBRAPHILE.html  Solar Eclipse

Dazzling social/crowdsourced stuff:

    1. SGI live “pulse” – Tweets curated and output as Hurricane Sandy marched across the East Coast of the US SGI_Pulse_Twitter_Sandy http://www.sgi.com/ And from HPC Wire http://www.hpcwire.com/hpcwire/2012-11-22/sgi_supercomputer_takestwitter_s_pulse.html on SGI’s pulse Twitter visualizations
distant US Capitol dome

U.S. Capitol SOTU eve, 2011 – photo Russ Imrie

Russell Imrie is a  Networking and Content Specialist, webmaster and an American Indian blogger living in the Washington DC area.

Copyright © forever and 2012 by Russell Imrie