View Single Post
Posts: 435 | Thanked: 197 times | Joined on Feb 2010
#62
Originally Posted by billranton View Post
first of all we need to create xml files to declare the provider and service to the system. These are stored in /usr/share/accounts/. I copied the skype ones and changed them. Here's my msn ones as an example:

/usr/share/accounts/providers/msn.provider:
Code:
<?xml version="1.0" encoding="utf-8"?>
<!doctype provider>
<provider version="1.0" id="msn">
 -=blah blah blah=-
        <setting name="password" type="password"/>
  </install-existing>
</provider>
the icons are taken from /usr/share/themes/blanco/meegotouch/icon . Harmattan actually has two msn icons preinstalled to choose from: Icon-m-service-msn and icon-m-service-msn-messenger. Other protocol icons included by default are: Icon-m-service-aol-messenger, icon-m-service-icq, icon-m-service-yahoo-messenger.

Msn.service, watch out for the manager and protocol settings, they need to be whatever your telepathy plugin states:
Code:
<?xml version="1.0" encoding="utf-8" ?>
<service id="msn">
  <type>im</type>
  <provider>msn</provider>
  <name>msn</name>
-=blah blah blah=-

    </service-presences-list>

  </type-data>

</service>
make sure you edit these somewhere else, as they seem to be picked up pretty quickly once in the directory and added to the database, whether you've finished or not. Note that you'll need to be root to put them in the proper place.
I am really not familiar with any codes in particular, so could anyone please provide a little guidance?
In my mind... when you say "create xml file", it means to open up a Text document, paste your code, and save it as a .xml is that correct? I noticed you also mentioned it's picky, so editing on a simple txt file on Windows XP, would that do a difference? lol And I am to assume those two codes quotes above have to be two different xml files? I can see the first file is to be called msn.provider (for MSN settings) and placed under /usr/share/accounts/providers/ but how about the second file? What do I name it and where to place it...? The rest of the instructions seem pretty much straight-forward.

Thanks in advance!