User:Pathoschild/Wikia RC feed
Appearance
This page documents a proposed format for the Wikia RC feed. It is intended to be very easily bot-readable, while sacrificing human readability on the assumption that nobody will use the unfiltered combined feed directly.
Every datum is separated by formatting codes (shown on this page in \x##
notation); this provides a convenient match for bot delimiting, and could conceivably be used to improve human-readability. (This pages uses "normal", which is not visible to humans.) For example, in Perl:
@data = split(/\s*\|�[0-9a-f]{2}/, $rcMessage);
Edit
[edit]
Bot-visible
|\x0f
event=edit|\x0f
domain=en.wikipedia |\x0f
page=Thomas Daniel Winter |\x0f
editor=TubularWorld |\x0f
flags=m |\x0f
bytechange=+4 |\x0f
diffid=199949258 |\x0f
summary=Standardized reference section
Human-visible
|event=edit |domain=en.wikipedia |page=Thomas Daniel Winter |editor=TubularWorld |flags=m |bytechange=+4 |diffid=199949258 |summary=Standardized reference section