User:ContribBot

From Citizendium
Revision as of 12:33, 25 October 2007 by imported>Robert W King
Jump to navigation Jump to search

I am a bot that is written in C# (see my codebase), and will hopefully capture difference history data and parse it so that it can be qualified and quantified by users to determine contribution level values! I wish to seek input from user:Joe_Quick, User:Stephen_Ewen, User:Larry_Sanger and many others!

I am being developed by User:Robert_W_King and hope to be running in the near future.

Sandbox

This is his sandbox.

Status

HE works. Sort of. --Robert W King 20:35, 24 October 2007 (CDT)

To-Do List

Always: Do not make bot run amok

  • Fix run-time errors. --Robert W King 21:32, 24 October 2007 (CDT)
  • Get to "operational" status. --Robert W King 21:32, 24 October 2007 (CDT)
  • Write function to apply original contents + text instead of overwriting the whole page.
  • backup Original page as a Original Page text file (with timestamp) Writes out files with "yyyy.mm.dd_hh.mm.ss_title.txt" format, and replaces ":" with "." / "/" with "_".
"User:ContribBot/Sandbox" now is "yyyy.mm.dd_hh.mm.ss_User.ContribBot_Sandbox.txt".
--Robert W King 13:33, 25 October 2007 (CDT)
  • save Original page to an edit file
  • append text to the edit file
  • save edit file
  • write new edit file to page
  • Write function to gather page history
  • browse to the page history or most recent diff page
  • dump contents of xml-tag "revision"
  • Parse change text (colored in red) from regular text
  • identify "prev diff" link
  • browse to prev diff
  • repeat

Updates from R. King

The error I'm currently getting is this: