Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Wallsplattr is a web based twitter client with RAG status for a wall board written in Silex
JavaScript PHP CSS Makefile
tag: 0.3

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
application
docs
library/Wallsplattr
public
tests
.zfproject.xml
README.markdown
build.xml
default.properties

README.markdown

Wallsplattr

Twitter Wall Board client with RAG status written in Zend Framework

Requirements

  • Zend Framework 1.11.4
  • PHP 5.3.0 or later
  • Browser with JavaScript enabled

Features

  • Displays tweets based on criteria submitted in a list format
  • Displays tweets based on criteria submitted in a google map if geo location information is embedded in the tweet
  • Refreshing of the search based on a configurable value
  • Display number of tweets based on a configurable value
  • Plugin in architecture for "Decorators"

Installation

Run the following commands

cd wallsplattr/
ant install

This will install Zend Framework in the correct place for you

Configuration

To configure what the current RAG decorators are looking for, update the key words in:

  • application/configs/green.json
  • application/configs/red.json

Out of the box, this application uses the Red and Green decorators as defined in application/configs/application.ini. If you want to add more, such as the responder decorator for example add:

  • wallsplattr.settings.decorators[] = "Wallsplattr_Decorator_Responder";

to the application.ini file.

The following decorators are currently available:

  • Wallsplattr_Decorator_Red (Default)
  • Wallsplattr_Decorator_Amber (Default)
  • Wallsplattr_Decorator_Green (Default)
  • Wallsplattr_Decorator_Responder
  • Wallsplattr_Decorator_TwitterUsername (Default)
  • Wallsplattr_Decorator_Url (Default)
  • Wallsplattr_Decorator_Industry

Wallsplattr_Decorator_Red

Identifies key words as defined in application/configs/red.json and turns the background of the tweet Red

Wallsplattr_Decorator_Amber

Provides a style for tweets that are marked as red and green

Wallsplattr_Decorator_Green

Identifies key words as defined in application/configs/green.json and turns the background of the tweet Green

Wallsplattr_Decorator_Responder

This decorator identifies tweets that have been replied to by the user identified in application/configs/responder.json. It currently shows an orange tick in the far right corner of the tweet, as this is showing an active interest by your online customer communications team

Wallsplattr_Decorator_TwitterUsername

Finds twitter usernames in the tweets and turns them into a clickable link

Wallsplattr_Decorator_Url

Finds urls as defined by John Gruber's regular expression (http://daringfireball.net/2010/07/improved_regex_for_matching_urls) and turns them into clickable links

Wallsplattr_Decorator_Industry

Identifies key words as defined in application/configs/industry.json and turns the background of the tweet Purple. This decorator is currently set with a few words for the ISP Industry in the UK, but it can be changed to whatever

Extending

Should you want to extend the application with more decorators you will need to do the following:

  • Create a new decorator which implements Wallsplattr_IDecorator
  • Update the APPLICATION_PATH/configs/application.ini file and add your new decorator to wallsplattr.settings.decorators[]
  • Update the style sheet, should you want new styles for each tweet
Something went wrong with that request. Please try again.