New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
Web Design and Hosting Creating sites, scripting, and hosting discussions.

Setting up a vcard download?


Post Reply New Thread Subscribe

 
Thread Tools
Morgan19

 
Member Since: Apr 08, 2004
Posts: 129
Morgan19 is on a distinguished road

Morgan19 is offline
Hi all,

I'm working on a website that needs to have a person's info and then a link to their vcard. Unfortunately I don't have any experience with said vcards so I'm somewhat in the dark, and as yet my web searches haven't turned up much useful info. Is a vcard just a regular file that can be linked like any old download, or is there some special process to getting it "obtainable" on a website?

Thanks,
m19
QUOTE Thanks
DrQuincy

 
Member Since: Nov 10, 2006
Location: Leeds, England
Posts: 306
DrQuincy will become famous soon enough
Mac Specs: 17" Core Duo Macbook Pro

DrQuincy is offline
A vCard is basically a text file with a contact's details in it - any decent mail client will let you save a contact as vcard. I'm on Windows at the moment so can't have a go on mail but on Outlook you go to the Contact tab, select the contact, do File > Save As..., choose vCard File from the dropdown and save it.

If you open a vCard in a text editor you'll see something like:

BEGIN:VCARD
VERSION:2.1
N:Smith;John
FN:John Smith
EMAILREF;INTERNET:john.smith@domain.com
REV:20061212T130854Z
END:VCARD

Once you have your vCard you can just link to it as you would any other file. If thay have a Mail client setup that accepts vCards it will automaitcally import the contact. Otherwise they'll asked what application to open the vCard in.

Hope that helps.
QUOTE Thanks
Morgan19

 
Member Since: Apr 08, 2004
Posts: 129
Morgan19 is on a distinguished road

Morgan19 is offline
Very helpful yes, thank you!

m19
QUOTE Thanks
Morgan19

 
Member Since: Apr 08, 2004
Posts: 129
Morgan19 is on a distinguished road

Morgan19 is offline
Hmm... I've got the vcard set up as a download and when clicked, Firefox and IE both pop up the "new contact" window. But, all the fields are blank instead of filled in. I've tried it with two vcards and get the same problem each time. I know the vcards have worked for other people, and I've tried this on two computers here and get the same problem.

m19
QUOTE Thanks
Morgan19

 
Member Since: Apr 08, 2004
Posts: 129
Morgan19 is on a distinguished road

Morgan19 is offline
Alright, now I've got the vcards set up properly: when a user downloads one and opens it, it opens the mail contact as it should. However, clicking the link (rather than doing a Save As) just displays the vcard as tetx onscreen instead of going to the mail client. Any ideas why it's doing this?

What's goofy is I can go here:

http://www.fontstuff.com/mailbag/qfrontpage02.htm

...qand the example vcard link works fine. Clicking on it opens up a new contact with all the info filled in. But if I download that file and then upload it to my web server, making no changes to it all, when I click MY link, it just displays the code. So the exact same file is fine downloading from one server, but doesn't work properly on the other. Why is that?

m19
QUOTE Thanks
Morgan19

 
Member Since: Apr 08, 2004
Posts: 129
Morgan19 is on a distinguished road

Morgan19 is offline
Quote:
Originally Posted by Morgan19 View Post
Alright, now I've got the vcards set up properly: when a user downloads one and opens it, it opens the mail contact as it should. However, clicking the link (rather than doing a Save As) just displays the vcard as tetx onscreen instead of going to the mail client. Any ideas why it's doing this?

What's goofy is I can go here:

http://www.fontstuff.com/mailbag/qfrontpage02.htm

...qand the example vcard link works fine. Clicking on it opens up a new contact with all the info filled in. But if I download that file and then upload it to my web server, making no changes to it all, when I click MY link, it just displays the code. So the exact same file is fine downloading from one server, but doesn't work properly on the other. Why is that?
Anyone?

m19
QUOTE Thanks

Post Reply New Thread Subscribe


« Help with PHP on Mac | Need a Mac for web design and compatibility »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
Default Download Manager Jigzill OS X - Operating System 1 11-08-2006 12:11 AM
Weird Download Speed Issues Pimptastic OS X - Operating System 7 05-22-2006 07:01 PM
Unable to Download Anything From The Internet digimon OS X - Operating System 9 03-16-2005 11:31 AM
Wal-Mart plans music download service Murlyn Schweb's Lounge 0 11-06-2003 06:01 PM

All times are GMT -4. The time now is 08:08 AM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?