batBot:ParseRssActionFrom WikiJavaAfter each request it should be performed a configurable action on the returned HTML
ManagerUser:DonGiulio is the manager for this requirement. Send DonGiulio an email Feature Groupscreate the parseRss Actionfind relevant resultsmake the ParseRSS find relevant results extract Data to a Job objectcreate Job Classcontaining description, job title and contact email for the Job from the RSS populate the Job objectextract data from the rss (title, description and parse the description for the email) generate the Email to sendusing Javamail one to the destination and one to myself. request confirmation for the dataprompt the prepared email and ask the user for confirmation. send the emailprepare a .bat file calling Thunderbird and prepopulating the email via command line.
remember the already applied for jobsin order not to apply twice to the same job configure the saving of the processed itemsadd to the configuration.xml the name of the file where to save the processed items ParseRSS reads the configurationand creates a file where it saves the info about the processed items, using the toString method check if an item was already processedcheck the current item if it was already processed. if so ignore it. if it was not, add it to the file. design a more flexible configuration for the parseRSS Actiondesign a way to express in XML the parser for the RSSwe want:
the goal is to be able to extract any quantity of information from the RSS by just properly configuring the configuration.xml file. create tasks for the flexible configurationpopulate the following feature implement the flexible configurationSee also |
