Gerritjan Koekkoek pisze: > Hi, > > I would like to set up a pipeline generator that takes a FEED from 37 > signals highrise: > From the API documentation I learn that i need a uthentication token. (i > Have it). In their example there is the following text: > ================= > Authentication > > When you're using the API, it's always through an existing user in > Highrise. There's no special API user. So when you use the API as > "david", you get to see and work with what "david" is allowed to. > Authenticating is done with an authentication token, which you'll find > on the "My Info" screen in Highrise (click the "Reveal authentication > token for feeds/API" link). > > When using the authentication token, you don't need a separate password. > But since Highrise uses HTTP Basic Authentication, and lots of > implementations assume that you want to have a password, it's often > easier just to pass in a dummy password, like X. > > Example using the authentication token and a dummy password through curl: > > curl -u 605b32dd:X http://sample.highrisehq.com/people/1.xml > > ================ > > As you can see they use curl in their example; what should I put in the > generator? > > So far this is what I did: > > <map:match pattern="cdls_personen"> > <map:generate > src="http://cdlsnl.highrisehq.com/people.xml?tag_id=122055"/> > <map:serialize type="xml"/> > Where shoul I put my authentication token???
Have you tried: <map:generate src="http://david:[EMAIL PROTECTED]"/> ? If this token is a secret piece of information it's probably not a good idea to put it directly into sitemap, though. -- Grzegorz Kossakowski Committer and PMC Member of Apache Cocoon http://reflectingonthevicissitudes.wordpress.com/ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
