User:Andre Castro/prototyping/1.2/traces: Difference between revisions

From XPUB & Lens-Based wiki
No edit summary
Line 39: Line 39:


* parse the email-database.xml (every day)  
* parse the email-database.xml (every day)  
Script which parses xml database. Checks the dates and email address under each data.
Script which parses xml database. Checks the dates and email address under each data.
According the date decide what part of story will be told
According the date decide what part of story will be told
   
   
* check the dates
* check the dates
* see what section of the text needs to send to whom
* see what section of the text needs to send to whom


==******part2******==
==******part2******==
Email the sections
Email the sections

Revision as of 15:32, 17 February 2012

ok bambino

1st part seems to working


******part1******

Form and email / date appending email-database.xml

  • online form
  • cgi receives email address and appends it to email-database.xml file

email-database.xml:

<email-address>
  <entries>
		<date date="20120216">
			<address>test@test.org</address>
			<address>test2@test.org</address>
		</date>
  </entries>
</email-address>
  • links:

http://pzwart3.wdka.hro.nl/~acastro/form/email-form.html

http://pzwart3.wdka.hro.nl/~acastro/cgi-bin/email_form_handler.cgi

******part2******

Days and Emails calculations

Other py script which:

  • parse the email-database.xml (every day)

Script which parses xml database. Checks the dates and email address under each data.

According the date decide what part of story will be told


  • check the dates
  • see what section of the text needs to send to whom

******part2******

Email the sections