mozdev.org

Hermes    [][][][][][]

resources:   Home | News | Feedback | Screenshots | Installation | Beta | Tutorial | Mailing List | Source Code | Bugs

Hermes service tutorial


  1. Check the latest version of Hermes to see if it supports your webmail provider
  2. Visit the webpage where you normally log in to your webmail provider
  3. View the page source - right click -> view source
  4. Edit out anything unrelated to logging in
  5. Keep only the <form> tags and the <input> tags
  6. 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
  7. Compare your proto-service with one of Hermes' services and edit yours to the same style.. see below for example
  8. Make sure your service has a unique and sensible id attribute in the form tag
  9. Make sure the form is targetted to "_content"
  10. Make sure the login field and password field are each within seperate label tags
  11. 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
  12. If your service works, e-mail it to onelists@hotmail.com and/or hermes@mozdev.org for inclusion into Hermes

Example Hermes Service


    <form id="another" class="service" method="post" target="_content"
     action="http://www.another.com/inbox.jsp">

     <div class="heading">Check your Another.com Mail</div>

      <label>
      Username

      <input type="text" name="uname" value="Another.com login"
      	onfocus="javascript:searchclear(this,'Another.com login');"
        onblur="javascript:searchclear(this,'Another.com login');" />

      </label>

      <label>
      Password

      <input type="password"  name="pword" />

      </label>

      <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" />

    </form>






The hermes project can be contacted through the mailing list or the member list.
Copyright © 2000-2017. All rights reserved. Terms of Use & Privacy Policy.