add support for itemid conversion in md2rdfa.sh script
authorStephane Corlosquet <scorlosquet@gmail.com>
Tue, 03 Jul 2012 17:44:47 -0400
changeset 33 06b888ed3a3e
parent 32 66692ab35467
child 34 707f01ce2592
add support for itemid conversion in md2rdfa.sh script
schema.org/drafts/examples/site/md2rdfa.sh
--- a/schema.org/drafts/examples/site/md2rdfa.sh	Tue Jul 03 16:09:44 2012 -0400
+++ b/schema.org/drafts/examples/site/md2rdfa.sh	Tue Jul 03 17:44:47 2012 -0400
@@ -5,5 +5,6 @@
     %s/itemscope itemtype="[^"]*schema.org\/\([^"]\+\)"/typeof="\1"/g
     %s#WITH\s\+MARKUP:\_s\+<\w\+#& vocab="http://schema.org/"#
     %s/\<itemprop\>=/property=/g
+    %s/\<itemid/resource/g
     :saveas examples-rdfa.txt
     :q