bryckbost / michromeformats Goto Github PK
View Code? Open in Web Editor NEWA Chrome extension to display microformats on a page
Home Page: http://ryckbost.com/blog/archives/2010/04/21/chrome-microformats-michromeformats/
License: MIT License
A Chrome extension to display microformats on a page
Home Page: http://ryckbost.com/blog/archives/2010/04/21/chrome-microformats-michromeformats/
License: MIT License
It would be nice to support hreview-aggregate: http://microformats.org/wiki/hreview-aggregate
I have a page. I'm adding 'summary' and 'dtstart' classes to some elements via javascript. This does not result in the icon for this extension becoming visible.
The script throws an exception when processing my homepage.
The page is: http://dvorkin.me/
The snapshot of the page that causes an exception is: http://pastebin.com/2gjpADzu
The error message is: Uncaught TypeError: Cannot read property 'nodeValue' of undefined
Hi,
There's seems to be a problem with foodnetwork implementation of hrecipe:
http://www.foodnetwork.com/recipes/ina-garten/deep-dish-apple-pie-recipe2/index.html
Somehow the extension is reporting every single ingredient twice (and it isn't duplicated in the page)... I'd love to contribute with a solution for the bug, but really can't see where the problem is!
Regards
The parser needs to be able to recognize the value-title pattern for machine added data.
http://microformats.org/wiki/value-class-pattern#Using_value-title_to_publish_machine-data
That is to say, I'm building a site and using your wonderful!!! plugin to debug my microformats on calendar and location items and I'm seeing that the dtstart/dtend dates are off on every entry by the timezone offsett. I tried looking through the code (and I'm sorry to say I can't dedicate more time to it at the moment), but couldn't find anything glaring. My assumption is that you're assuming a UTC timestamp and subtracting the offset, making a timestamp of 2010-07-11T15:00:00-0400 appear to start at 11AM locally, when it should be (properly) converted to 7PM UTC, if there is no 'tz' element set. And...I just saw how to fix my self created glitch. I set the tz element in the html and it works, but your scripts shouldn't rely on it, as it isn't required (especially if you're adding the offset).
Anyway, thank-you for this wonderful tool!
HTML entity escaped JavaScript will be executed in the popup view.
Example:
<script>
document.body.style.backgroundColor = "lime"
</script>
Google's rich snippet tool shows the hrecipe data: http://www.google.com/webmasters/tools/richsnippets?url=http%3A%2F%2Fwww.justapinch.com%2Frecipe%2Flovelucy%2Fmango-cobbler%2Ffruit-dessert&view=
but when going to http://www.justapinch.com/recipe/lovelucy/mango-cobbler/fruit-dessert this extension doesn't show the hrecipe data.
This might be related to issue #5.
I have tried with a bunch of different providers, and though being parsed correctly by the extension, the http://microformat-conversion.herokuapp.com/
API returns either a Page not found
or an Internal server error
.
I've just been testing out the extension and f you use the
value+type properties, it destroys the extension seeing the ingredient property.
What happens is the value property gets shown and nothing else within the ingredient parent.
eg HTML:
<div class="hrecipe">
<p class="fn">Sugar</p>
<ul>
<li class="ingredient">
<span class="value">2</span>
<span class="type"> tbsp</span>
Sugar</li>
</ul>
</div>
It should show 2 tbsp Sugar as an ingredient listing, but it only shows 2
When clicking on the 'connect now' link I now get taken to Google error page about OAuth.
Any idea if this will be updated to work with OAuth 2.0?
When you include the 'location' property on a list of events, the extension only displays the first one.
Example:
http://grasshopperinn.co.uk/whats-on
One website we created, we dynamically update a result list through use of jQuery when the user enters search criteria.
With the microformats plugin for firefox we use ( https://addons.mozilla.org/en-US/firefox/addon/4106/ ) this get's picked up. But with this plugin no update is visible, because only at page load the check for microformats is done...
Any thoughts on this?
A really great extension!
If I am not mistaken, a hcard supports multiple "adr" entries. Please add support for this feature.
Also for nice display of organisations, you could support "logo"?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.