homepage Welcome to WebmasterWorld Guest from 54.196.196.108
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Visit PubCon.com
Home / Forums Index / WebmasterWorld / Webmaster General
Forum Library, Charter, Moderators: phranque & physics

Webmaster General Forum

    
Making a vCard available
but for some reason, not working
mcjohnson




msg:3825039
 3:21 am on Jan 13, 2009 (gmt 0)

I have a client who is a lawfirm who wants to make their attorneys' vCard available on the profile page for each lawyer.

I created the vCards by exporting from Outlook to a .vcf file, put them in a folder called vCards, provided simple links to the vcards.

my IE browser works fine - for some reason in FF it simply displays the txt of the card on page, and in the test environment, the client reports they are getting an error message even attempting to open same.

Is there something I am missing here? Is there more to it than simply linking to the vcf file? I have googled pretty deeply and interestingly, there's not much out there about embedding a vCard on a page.

If anyone has a link to some detailed how-to, I would appreciate any pointing me in the right direction.

Thanks

 

phranque




msg:3825249
 12:49 pm on Jan 13, 2009 (gmt 0)

have you checked the content type header?
it should be sending text/x-vcard.
maybe IE is ok with the file extension alone and tries to put it into outlook on that basis.
check how your file types are handled in ff and if .vcf isn't specified you should get a dialog that will allow you to specify the application to handle that type.

caribguy




msg:3825304
 2:18 pm on Jan 13, 2009 (gmt 0)

phranque is right. Found this by Googling: in Apache, you should add

AddType text/x-vcard .vcf

to your vCards directory's .htaccess file

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / WebmasterWorld / Webmaster General
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved