New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

publish: use summary or name if content isn't available #219

Closed
snarfed opened this Issue Jul 7, 2014 · 5 comments

Comments

Projects
None yet
2 participants
@snarfed
Owner

snarfed commented Jul 7, 2014

@Wordius hit this just now on https://www.brid.gy/twitter/Wordius with http://wordius.com/save-nearly-200-apples-quad-core-mac-mini/ . here's the log. the page has no e-content, but it does have a name, which i should use.

the fix goes here. should be straightforward.

thanks for uncovering this, @Wordius. sorry for the trouble!

@snarfed snarfed added publish labels Jul 7, 2014

@snarfed snarfed self-assigned this Jul 7, 2014

@Wordius

This comment has been minimized.

Show comment
Hide comment
@Wordius

Wordius Jul 7, 2014

Hi Ryan,

MFs not implemented on my blog yet, a self-hosted WP.

Haven’t yet figured out how to install brid.gy. Is there a how-to anywhere?

@Wordius

Wordius commented Jul 7, 2014

Hi Ryan,

MFs not implemented on my blog yet, a self-hosted WP.

Haven’t yet figured out how to install brid.gy. Is there a how-to anywhere?

@Wordius

@snarfed

This comment has been minimized.

Show comment
Hide comment
@snarfed

snarfed Jul 7, 2014

Owner

hey @Wordius! you actually do have microformats on your blog; wordpress includes them automatically. a bug in bridgy is making it falsely claim you don't. that bug should be fixed soon. sorry for the trouble; i'll update here when it's fixed.

as for installing bridgy, you're already set up! no need to install any software, it's just a service you sign up for. lots more details in the docs: http://brid.gy/about

the one additional thing you can do if you want is turn on backfeed for replies, favorites, etc. by clicking the Twitter button under Want comments and likes? on https://www.brid.gy/twitter/Wordius . up to you though, you don't have to.

Owner

snarfed commented Jul 7, 2014

hey @Wordius! you actually do have microformats on your blog; wordpress includes them automatically. a bug in bridgy is making it falsely claim you don't. that bug should be fixed soon. sorry for the trouble; i'll update here when it's fixed.

as for installing bridgy, you're already set up! no need to install any software, it's just a service you sign up for. lots more details in the docs: http://brid.gy/about

the one additional thing you can do if you want is turn on backfeed for replies, favorites, etc. by clicking the Twitter button under Want comments and likes? on https://www.brid.gy/twitter/Wordius . up to you though, you don't have to.

@Wordius

This comment has been minimized.

Show comment
Hide comment
@Wordius

Wordius Jul 7, 2014

Thanks, Ryan. Realise this is just a ‘gitft’!

---: Jeff Porter: publishink.co.uk: info@publishink.co.uk

On 7 July 2014 19:46:50 BST, Ryan Barrett notifications@github.com wrote:hey @Wordius! you actually do have microformats on your blog; wordpress includes them automatically. a bug in bridgy is making it falsely claim you don't. that bug should be fixed soon. sorry for the trouble; i'll update here when it's fixed. as for installing bridgy, you're already set up! no need to install any software, it's just a service you sign up for. lots more details in the docs: http://brid.gy/about (the one additional thing you can do if you want is turn on backfeed for replies, favorites, etc. by clicking the Twitter button under Want comments and likes? on https://www.brid.gy/twitter/Wordius . up to you though, you don't have to. —Reply to this email directly or view it on GitHub.

Wordius commented Jul 7, 2014

Thanks, Ryan. Realise this is just a ‘gitft’!

---: Jeff Porter: publishink.co.uk: info@publishink.co.uk

On 7 July 2014 19:46:50 BST, Ryan Barrett notifications@github.com wrote:hey @Wordius! you actually do have microformats on your blog; wordpress includes them automatically. a bug in bridgy is making it falsely claim you don't. that bug should be fixed soon. sorry for the trouble; i'll update here when it's fixed. as for installing bridgy, you're already set up! no need to install any software, it's just a service you sign up for. lots more details in the docs: http://brid.gy/about (the one additional thing you can do if you want is turn on backfeed for replies, favorites, etc. by clicking the Twitter button under Want comments and likes? on https://www.brid.gy/twitter/Wordius . up to you though, you don't have to. —Reply to this email directly or view it on GitHub.

@snarfed

This comment has been minimized.

Show comment
Hide comment
@snarfed

snarfed Jul 7, 2014

Owner

ok @Wordius, this should be fixed. thanks for your patience!

Owner

snarfed commented Jul 7, 2014

ok @Wordius, this should be fixed. thanks for your patience!

@snarfed

This comment has been minimized.

Show comment
Hide comment
@snarfed

snarfed Jul 8, 2014

Owner

argh, this broke publishing for @JasonGreen. i want to prefer his site's child h-entry content to the parent h-feed's name. ie i want items.children.properties.content in https://kylewm.com/api/mf2?url=http://blog.jasongreen.net/2014/07/bridgy-problems/ and name in https://kylewm.com/api/mf2?url=http://wordius.com/save-nearly-200-apples-quad-core-mac-mini/.

maybe @kylewm's mf2util has this...

Owner

snarfed commented Jul 8, 2014

argh, this broke publishing for @JasonGreen. i want to prefer his site's child h-entry content to the parent h-feed's name. ie i want items.children.properties.content in https://kylewm.com/api/mf2?url=http://blog.jasongreen.net/2014/07/bridgy-problems/ and name in https://kylewm.com/api/mf2?url=http://wordius.com/save-nearly-200-apples-quad-core-mac-mini/.

maybe @kylewm's mf2util has this...

@snarfed snarfed closed this in bfb3f79 Jul 8, 2014

snarfed added a commit to snarfed/granary that referenced this issue Jan 4, 2016

content_for_create(): preserve HTML formatting in content when possible
...specifically, when summary and content are the same, so we know we're not losing anything.

for snarfed/bridgy#219, snarfed/bridgy#228
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment