Mailing List |
Source Code |
Hermes service tutorial
- Check the latest version of Hermes to see if it supports your webmail provider
- Visit the webpage where you normally log in to your webmail provider
- View the page source - right click -> view source
- Edit out anything unrelated to logging in
- Keep only the <form> tags and the <input> tags
- Convert this from HTML to XHTML which is done simply by converting all tag and attribute names into lower case and making sure each tag is closed, on input tags this is done by <input blah="blah" blah="blah" /> make sure each attribute's content is contained within speechmarks.. blah="blah" and not blah=blah
- Compare your proto-service with one of Hermes' services and edit yours to the same style.. see below for example
- Make sure your service has a unique and sensible id attribute in the form tag
- Make sure the form is targetted to "_content"
- Make sure the login field and password field are each within seperate label tags
- Save this document as service.xml and open it into Mozilla and test to see if you can use it to connect to your webmail provider
- If your service works, e-mail it to firstname.lastname@example.org and/or email@example.com for inclusion into Hermes
Example Hermes Service
<form id="another" class="service" method="post" target="_content"
<div class="heading">Check your Another.com Mail</div>
<input type="text" name="uname" value="Another.com login"
<input type="password" name="pword" />
<input type="submit" name="submitButton" value="Sign in" />
<input type="hidden" name="folder" value="INBOX" />
<input type="hidden" name="uclass" value="funmail" />
<input type="hidden" name="o" value="funmail" />