drewm / hkit

Automatically exported from code.google.com/p/hkit
0 stars 0 forks source link

Poor support for nested hCards #3

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
When using hkit to parse nested hCards, it appears that hkit incorrectly
treats all of the nested hCard data as belonging to the top-level hCard
("incorrectly" as defined by
http://microformats.org/wiki/hcard-parsing#nested_hCards ).

Note that I am filing this bug report based on the information that
getSatisfaction.com is using hKit for their hCard profile import.

What steps will reproduce the problem?

1. Start signing up for getSatisfaction: http://getsatisfaction.com/people/new

2. Select "other" service for hCard import.

3. Enter a Mahalo URL for a user that has friends, like
http://www.mahalo.com/member/Cfinke

What is the expected output? 

Name: cfinke
Profile URL: http://www.mahalo.com/member/Cfinke
Image URL: http://mho_users.s3.amazonaws.com/cfinke/weemee.jpg

What do you see instead?

Name: Sara
Profile URL:
http://www.mahalo.com/member/cfinke,http://www.mahalo.com/member/Sara,http://www
.mahalo.com/member/Sean
percival,http://www.mahalo.com/member/Spinchange,http://www.mahalo.com/member/Sh
alunov,http://www.mahalo.com/member/Tummblr,http://www.mahalo.com/member/Leahcul
ver,http://www.mahalo.com/member/Rcade,http://www.mahalo.com/member/Jschuur,http
://www.mahalo.com/member/Jordan,,,,
Image URL:
http://mho_users.s3.amazonaws.com/cfinke/weemee.jpg,http://mho_users.s3.amazonaw
s.com/sara/sara_lg.png,http://mho_users.s3.amazonaws.com/sean_percival/sean_912_
lg.jpg,http://mho_users.s3.amazonaws.com/tummblr/boo.jpg,http://mho_users.s3.ama
zonaws.com/leahculver/weemee.jpg,http://mho_users.s3.amazonaws.com/jschuur/south
parkjoost.gif,http://mho_users.s3.amazonaws.com/travis/Picture_1.png,http://mho_
users.s3.amazonaws.com/laurend/laurend_252_lg.jpg,http://mho_users.s3.amazonaws.
com/connectedgeek/me_smaller.jpg,http://mho_users.s3.amazonaws.com/melindam/meli
ndam_842_lg.png,http://mho_users.s3.amazonaws.com/danielle/danielle_lg.png,http:
//mho_users.s3.amazonaws.com/steepdecline/steepdecline_lg.jpg,http://mho_users.s
3.amazonaws.com/julia/julia_lg.jpg,http://mho_users.s3.amazonaws.com/ssravp/weem
ee.jpg,http://mho_users.s3.amazonaws.com/tantek/icon-2007-256px.png,http://mho_u
sers.s3.amazonaws.com/tomer/Tomer_Cohen.JPG,http://mho_users.s3.amazonaws.com/sc
ottorama/weemee-crop.jpg,http://mho_users.s3.amazonaws.com/sebastian/sebastian__
2_quadrat.jpg

What version of the product are you using? On what operating system?

Using hkit via getSatisfaction.

Please provide any additional information below.

This incorrect implementation is widespread (it appears in the Operator
Toolbar for Firefox and the Safari microformat plugin as well), but we have
verified with Tantek Celik of microformats.org that our HTML is correct,
and that the parsing is the issue.

Original issue reported on code.google.com by cfinke on 11 Feb 2008 at 4:09

GoogleCodeExporter commented 9 years ago
It appears that getSatisfaction does not in fact use hKit any longer and is 
instead
using mofo: http://mofo.rubyforge.org/

Original comment by cfinke on 11 Feb 2008 at 5:17