Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
publish: support pictures #85
Comments
snarfed
added
now
and removed
now
labels
Mar 10, 2014
|
one big question here is whether there's mf2 markup to identify pictures that are the primary content of a post, as opposed to just decoration. if not, I can start with just the first picture(s) inside the e-content. |
kartikprabhu
commented
Apr 3, 2014
|
@snarfed how about using the u-photo of the h-entry and as a fallback use the first image. FB uses the |
|
sgtm! |
dshanske
commented
Jun 3, 2014
|
I'm marking up h-entries as h-as-image for posts which are primarily an image post. I stole it from others doing it, along with h-as-page, h-as-article, h-as-bookmark http://microformats.org/wiki/activitystreams It is an experimental markup, I believe. There is also a proposal for a u-photo in an h-entry noted as an option for marking up the primary image. |
|
for anyone interested in tackling this, the changes would (probably) be isolated to just |
|
lots of good discussion on irc today on how to determine whether a post is a "photo" post, and if so, which photo(s). they've started wikifying it on Photos#Discussion. |
|
I'm pretty well convinced that a note with a photo should be syndicated like a photo, full stop. In the discussion today, I could only come up with one counter-example https://kylewm.com/note/2014/05/05/1 and even that is kind of a toss up. |
snarfed
added
now
and removed
later
labels
Jul 19, 2014
|
done for twitter! by @notenoughneon in snarfed/activitystreams-unofficial#16. it just uses the first u-photo. |
added a commit
to snarfed/granary
that referenced
this issue
Aug 13, 2014
snarfed
added
later
and removed
now
labels
Aug 13, 2014
|
moving back to now since i'd like to do this for facebook too. |
snarfed
added
now
and removed
later
labels
Aug 21, 2014
notenoughneon
commented
Aug 22, 2014
|
I've started working on facebook support. |
|
awesome, glad to hear it! |
|
@notenoughneon exciting! there's a little bit of code in redwind for posting photos to facebook, feel free to reference or ignore :) |
|
thanks again, @notenoughneon! done in snarfed/activitystreams-unofficial#20. |
snarfed commentedMar 10, 2014
needs new API usage for both FB and twitter, but should be pretty straightforward.
cc @kartikprabhu