LinkChecker
- Robert Avery
The LinkChecker example shows how a client application (the link checker swing program) can interact with the REST api to update spreadsheets in realtime.
To run this demo, you will need to install and run Sheetster Server Pro:
http://www.extentech.com/products/download/download.jsp?product_name=Sheetster&product_version=2
Next, you will need to sign into the Sheetster web application and upload the sample report template (BrokenLinksReport.xlsx).
You will need the document ID from this report template so that you can
configure the
The communication happens in the SheetsterRESTClient.java which has many helper methods to create the default spreadsheet and to ease the insertion of cell values.
IMPORTANT: You must edit the values in CheckLinks.java to set the following:
1. sheetster reporting server URL (ie: 127.0.0.1)
2. sheetster reporting server port (ie: 8080)
3. sheetster reporting server username (ie: admin@acme.com)
4. sheetster reporting server password (ie: password)
Now you can run the "CheckLinks" class as a program to start the example application.
To customize the application further, edit the template spreadsheet used for the report.
Also, editing the handling of broken and working links and other automations up and downstream are easily extended.
For more information on CheckLinks: the original CheckLinks author is Jeff Heaton(http://www.jeffheaton.com).
 | File | Modified |
---|---|---|
Java Source Spider.java |
Oct 25, 2012 by Robert Avery | |
Text File README.TXT |
Oct 25, 2012 by Robert Avery | |
Java Source SheetsterRESTClient.java |
Oct 25, 2012 by Robert Avery | |
Java Source HTMLParse.java |
Oct 25, 2012 by Robert Avery | |
Java Source ISpiderReportable.java |
Oct 25, 2012 by Robert Avery | |
Microsoft Excel Spreadsheet BrokenLinksReport.xlsx |
Oct 25, 2012 by Robert Avery | |
Java Source CheckLinks.java |
Oct 25, 2012 by Robert Avery |