dshanske / parse-this

Parse This Parsing Library for WordPress- Can Act as a Standalone Plugin
GNU General Public License v2.0
15 stars 3 forks source link

Infer summary from content if no explicit summary property #47

Closed jackjamieson2 closed 4 years ago

jackjamieson2 commented 5 years ago

per our discussion at https://chat.indieweb.org/wordpress/2019-06-21#t1561138441069700

Since Post Kinds relies on summary to display excerpts for likes, etc., several of my responses lack context - examples at https://jackjamieson.net/kind/like/

As you suggested, populating the summary field based on content would solve this issue

dshanske commented 5 years ago

What if there is no content? although I suppose neither summary nor content is unlikely.

jackjamieson2 commented 5 years ago

Hmm, I guess still possible, though. e.g. when responding to posts that are already responses.

In my opinion, using content if no explicit summary is available would probably resolve most cases.

dshanske commented 5 years ago

I think I have a provision for that in the code. I am doing some cleanup next.

Cambridgeport90 commented 4 years ago

I'll be keeping an eye on this one; affects my site as well.

dshanske commented 4 years ago

I did have a provision in the code for this, but I had another setting that would remove it if it was identical to the content. I removed that. We'll see what happens.