User:ContribBot: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Robert W King
mNo edit summary
imported>Robert W King
No edit summary
Line 11: Line 11:


'''HE works.  Sort of.''' --[[User:Robert W King|Robert W King]] 20:35, 24 October 2007 (CDT)
'''HE works.  Sort of.''' --[[User:Robert W King|Robert W King]] 20:35, 24 October 2007 (CDT)
==To-Do List==
'''Always: Do not make bot run amok'''
*<s>Fix run-time errors.</s> --[[User:Robert W King|Robert W King]] 21:32, 24 October 2007 (CDT)
*<s>Get to "operational" status.</s> --[[User:Robert W King|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
: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==
==Updates from R. King==

Revision as of 21:32, 24 October 2007

I am a bot that 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
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: