gate.yam.plugins
Class Twitter
java.lang.Object
gate.yam.plugins.Twitter
- All Implemented Interfaces:
- YamPlugin
public class Twitter
- extends Object
- implements YamPlugin
Twitter plugin for YAM.
- Author:
- Hamish Cunningham
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Twitter
public Twitter()
translate
public String translate(Map m,
AbstractTranslator t,
String target)
- Translate Twitter updates in YAM pages.
- Specified by:
translate
in interface YamPlugin
- Parameters:
m
- a map of arguments from the YAM sourcet
- the translator that is converting the YAM documenttarget
- the target output language
- Returns:
- the translation for insertion at the plugin call location
An example call:
%twitter(title=GATE News, account=GateAcUk, name=GATE, count=5)