microformats

Microformats hreview with invisible item

不问归期 提交于 2019-12-23 15:56:47
问题 I'm implementing the hreview portion of microformats on a site to be indexed by Google. http://www.google.com/support/webmasters/bin/answer.py?answer=146645 The item field of a review feels clunky to me, since I can't imagine why I'd included the name of the item being reviewed inside the review itself. For example. If you are on Yelp there is a page about a restaurant. The name of the restaurant is at the top, but it wouldn't' make sense to repeat the restaurant name also inside each review

Multiple Foursquare 'save' buttons on one page

蹲街弑〆低调 提交于 2019-12-21 21:36:45
问题 I am working on a site that displays a list of venues and would like to add a Foursquare 'save' button for each venue in the list. Is it possible to show multiple Foursquare 'save' buttons on a single page? I've tried creating multiple vCard blocks (one for each venue) and inserting a 'save' button in each block but the locations are not being picked up. 回答1: After inspecting the source of the widgets.js and widgets.asyncbundle.js I discovered that setting the data-context atribute of the

What rel=profile is for?

我们两清 提交于 2019-12-17 22:38:55
问题 While doing the HTML for my new template, I stumbled across a new meta tag <link rel="profile" href="http://gmpg.org/xfn/11" /> What's this for? I found it linking to this page, and through Google I found this Microformat but I didn't get it. 回答1: In HTML 4.01, there is the profile attribute for the head element: This attribute specifies the location of one or more meta data profiles, separated by white space. For future extensions, user agents should consider the value to be a list even

Author error inside Google Structured Data Test

强颜欢笑 提交于 2019-12-13 04:40:57
问题 I receive this error when analyzing a review of my website: "Missing required hCard "author"" http://www.google.com/webmasters/tools/richsnippets?q=http%3A%2F%2Fwww.gamempire.it%2Fcastlestorm-ps-vita%2Frecensione%2F131419 Why? I have setted the class="author" inside the html. This is the code of the page: https://gist.github.com/anonymous/7675765, that you can find here: http://www.gamempire.it/castlestorm-ps-vita/recensione/131419 回答1: author vcard has to be inside the hentry element http:/

Usage of <address> tag in HTML: copyright or webmaster?

有些话、适合烂在心里 提交于 2019-12-10 19:29:01
问题 On the footer of my client’s website I have his address and copyright notice, and under there is the address of the webmaster. With both I will use the hCard microformat. With which of them I should use the <address> tag? 回答1: As per the HTML5 spec: The address element represents the contact information for its nearest article or body element ancestor. If that is the body element, then the contact information applies to the document as a whole. http://dev.w3.org/html5/spec/sections.html#the

Address book DB schema

徘徊边缘 提交于 2019-12-08 02:11:56
问题 I need to store contact information for users. I want to present this data on the page as an hCard and downloadable as a vCard. I'd also like to be able to search the database by phone number, email, etc. What do you think is the best way to store this data? Since users could have multiple addresses, etc complete normalization would be a mess. I'm thinking about using XML, but I'm not familiar with querying XML db fields. Would I still be able to search for users by contact info? I'm using

Google Rich Snippets & Warning Messages

烂漫一生 提交于 2019-12-06 14:41:31
问题 When using the Google Rich Snippet Tesing Tool, I am getting a warning when the count=0 for the reviews->aggregate reviews snippet. Below is an example of the HTML I am using. Does Google not validate the review if the count is 0. I checked when a review is added and the page validates fine. If so I am guessing I wont get the additional info shown in the SERP until someone makes a comment. <div id="placeinfo" class="hreview-aggregate clearing"> <div id="details" class="vcard item"> <h1 class=

Address book DB schema

丶灬走出姿态 提交于 2019-12-06 11:33:58
I need to store contact information for users. I want to present this data on the page as an hCard and downloadable as a vCard . I'd also like to be able to search the database by phone number, email, etc. What do you think is the best way to store this data? Since users could have multiple addresses, etc complete normalization would be a mess. I'm thinking about using XML, but I'm not familiar with querying XML db fields. Would I still be able to search for users by contact info? I'm using SQL Server 2005, if that matters. Consider two tables for People and their addresses: People (pid,

How do I set the license for images on my site in Google Images?

[亡魂溺海] 提交于 2019-12-06 02:09:25
问题 Google Images has an option to filter images based on license. Each image on my site has a details page, where I have the following link to denote the license: <a rel="license" href="http://creativecommons.org/licenses/by/4.0/deed.en_US" target="_blank">CC-BY</a> It's a modified version of the sample code from Creative Commons - Choose a License. However, I see images that Google has indexed since I added this code do not appear when I select a license filter. 回答1: You need to wrap it around

Multiple Foursquare 'save' buttons on one page

不想你离开。 提交于 2019-12-04 16:25:46
I am working on a site that displays a list of venues and would like to add a Foursquare 'save' button for each venue in the list. Is it possible to show multiple Foursquare 'save' buttons on a single page? I've tried creating multiple vCard blocks (one for each venue) and inserting a 'save' button in each block but the locations are not being picked up. After inspecting the source of the widgets.js and widgets.asyncbundle.js I discovered that setting the data-context atribute of the 'Save to Foursquare' button to the ID of the VCard will link these two. Like so: <div id="hcard-Station