PlanoTse Handbook for Job Search Automation/Domain Templates


 * Chapter 6

Domain Templates
This page is only an introduction to domain templates. For in-depth coverage, see Chapter 8. Constructing Domain Templates.

Domain Template Definition
In PlanoTse, a domain template is an XML file letting PlanoTse know what to do with an HTTP response coming back from a web server as the result of an HTTP request, which is generated when a browser aims at a URL, a.k.a. web address. The name of the domain template file must be the same as the domain name followed by the extension .xml, e.g. jobs.dbadoho.com.xml.

Active Domain Template Directory
Active domain templates are stored in the following folder: C:\Users\[your-account-name]\Documents\PlanoTseTools\PlanoTseScripting\UsefulURL\UsefulDomains

Sample Domain Template
&lt;UsefulDomain> &lt;DomainName>jobs.dbadoho.com&lt;/DomainName> &lt;SerpUrlTemplate>
 * &lt;Prefix>/a/jobs/find-jobs/q-&lt;/Prefix>
 * &lt;Keyword>/sb-pd/pn-&lt;/Keyword>
 * &lt;Suffix>&lt;/Suffix>

&lt;/SerpUrlTemplate> &lt;LinkUrlTemplate>
 * &lt;Prefix>/a/job-details/view/cparm-&lt;/Prefix>
 * &lt;Keyword>/jobkey-&lt;/Keyword>
 * &lt;Keyword>/rid-&lt;/Keyword>
 * &lt;Keyword>/pub_id-&lt;/Keyword>
 * &lt;Keyword>/cjp-&lt;/Keyword>
 * &lt;Suffix>&lt;/Suffix>
 * &lt;BadCaption>more&lt;/BadCaption>

&lt;/LinkUrlTemplate> &lt;/UsefulDomain>