PlanoTse Handbook for Job Search Automation/Domain Templates

From Wikibooks, open books for an open world
Jump to navigation Jump to search
PlanoTse Handbook for Job Search Automation
Search Boundary Domain Templates Search Logic
Chapter 6

Domain Templates[edit | edit source]

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

Domain Template Definition[edit | edit source]

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[edit | edit source]

Active domain templates are stored in the following folder:

C:\Users\[your-account-name]\Documents\PlanoTseTools\PlanoTseScripting\UsefulURL\UsefulDomains

 

Sample Domain Template[edit | edit source]

Sample Domain Template

<UsefulDomain>

<DomainName>jobs.dbadoho.com</DomainName>

<SerpUrlTemplate>

<Prefix>/a/jobs/find-jobs/q-</Prefix>
<Keyword>/sb-pd/pn-</Keyword>
<Suffix></Suffix>

</SerpUrlTemplate>

<LinkUrlTemplate>

<Prefix>/a/job-details/view/cparm-</Prefix>
<Keyword>/jobkey-</Keyword>
<Keyword>/rid-</Keyword>
<Keyword>/pub_id-</Keyword>
<Keyword>/cjp-</Keyword>
<Suffix></Suffix>
<BadCaption>more</BadCaption>

</LinkUrlTemplate>

</UsefulDomain>

 

PlanoTse Handbook for Job Search Automation
Search Boundary Domain Templates Search Logic