Changes between Version 3 and Version 4 of AppleAddressBookDatasource


Ignore:
Timestamp:
12/12/05 18:31:45 (19 years ago)
Author:
sauermann
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • AppleAddressBookDatasource

    v3 v4  
    1414 * [http://developer.apple.com/documentation/UserExperience/Reference/AddressBook-date.html Addressbook reference] 
    1515 
     16An applescript file that does a starting thing 
     17{{{ 
     18tell application "Address Book" 
     19        set out to "<rdf:RDF xmlns:foaf='http://xmlns.com/foaf/0.1/' xmlns:rdf='http://www.w3.org/1999/02/22-rdf-syntax-ns#'>" 
     20        repeat with p in people 
     21                set out to out & "<foaf:Person>" 
     22                set out to out & "<foaf:name>" & (name of p) & "</foaf:name>" 
     23                repeat with e in emails of p 
     24                        set out to out & "<foaf:mbox>mailto:" & value of e & "</foaf:mbox>" 
     25                end repeat 
     26                set out to out & "</foaf:Person>" 
     27        end repeat 
     28        set out to out & "</rdf:RDF>" 
     29        out 
     30end tell 
     31}}} 
    1632 
    1733= The DataSource itself =