Permalink
Browse files

Update cc-attributor.html

adding Microformat2 markup
  • Loading branch information...
jgmac1106 committed May 16, 2018
1 parent 0aedd51 commit 88d6c361812a5ed543c4dfdd33f113dcc932f2d4
Showing with 1 addition and 1 deletion.
  1. +1 −1 docs/cc-attributor.html
View
@@ -89,7 +89,7 @@
}
// create attribution string
attrib_str = '<h2>Attribution w/ image (HTML)</h2><textarea rows="5" onClick="this.select()"><a title="' + p.title._content + '" href="' + photolink + '"><img src="' + photosrc + ps + '.jpg" /></a><br /><small><a title="' + p.title._content + '" href="' + photolink + '">' + p.title._content + '</a> flickr photo by <a href="https://flickr.com/people/' + uid + '">' + p.owner.username + '</a> shared ' + get_license_html(p.license) + ' </small></textarea><h2>Attribution only (HTML)</h2><textarea rows="5" onClick="this.select()"><a title="' + p.title._content + '" href="' + photolink + '">' + p.title._content + '</a> flickr photo by <a href="https://flickr.com/people/' + uid + '">' + p.owner.username + '</a> shared ' + get_license_html(p.license) + ' </small></textarea><h2>Attribution (text)</h2><textarea rows="3" onClick="this.select()">"' + p.title._content + '" flickr photo by ' + p.owner.username + ' ' + photolink + ' shared ' + get_license_text(p.license) + '</textarea><h2>Download Image</h2><a href="' + photosrc + ps + '.jpg" class="dlink" download>' + photosrc + ps + '.jpg</a>';
attrib_str = '<h2>Attribution w/ image (HTML)</h2><textarea rows="5" onClick="this.select()"><a title="' + p.title._content + '" href="' + photolink + '"><img class="u-photo" src="' + photosrc + ps + '.jpg" /></a><br /><small><a title="' + p.title._content + '" href="' + photolink + '">' + p.title._content + '</a> flickr photo by <a href="https://flickr.com/people/' + uid + '">' + p.owner.username + '</a> shared ' + get_license_html(p.license) + ' </small></textarea><h2>Attribution only (HTML)</h2><textarea rows="5" onClick="this.select()"><a title="' + p.title._content + '" href="' + photolink + '">' + p.title._content + '</a> flickr photo by <a href="https://flickr.com/people/' + uid + '">' + p.owner.username + '</a> shared ' + get_license_html(p.license) + ' </small></textarea><h2>Attribution (text)</h2><textarea rows="3" onClick="this.select()">"' + p.title._content + '" flickr photo by ' + p.owner.username + ' ' + photolink + ' shared ' + get_license_text(p.license) + '</textarea><h2>Download Image</h2><a href="' + photosrc + ps + '.jpg" class="dlink" download>' + photosrc + ps + '.jpg</a>';
}
// stop the random status messages!

0 comments on commit 88d6c36

Please sign in to comment.