SuttaCentral

Generic SuttaCentral Oneboxes


#1

When I post a link to a sutta, like this

the OneBox gives a generic blurb for the whole site instead of a specific blurb for that sutta.

For what it’s worth, the preview on Facebook has the right title, but still a generic blurb:

Is there something SuttaCentral can do to improve this, or is it totally up to the Facebook and Discuss code how to preview links?


#2

AlexM, thanks for volunteering. :pray:

The Github repositories for SuttaCentral are here.

I hope that doesn’t make you too…restless.
Besides, I always thought you were smarter than I. :grinning:


#3

Should I not post bug reports / feature requests here?


#4

This does seem the appropriate forum–they eventually wander over to Github issues and are assigned. We really would be grateful for your assistance in fixing bugs. And it is not a requirement that you do so.
:pray:


#5

It is indeed something we can improve. When launching the new site last year, we took a lot of time to make sure that the various social media formats produced sane results. So that’s a start; but we can definitely improve. I am not 100% sure how all this works, but I understand that at least in some cases we can ensure we provide context-relevant metadata. I’ll make a ticket for it.


#6

Indeed, it is a very difficult technical question. I worked on this for a long time but it was very difficult to get the system to work with the relatively new Google Polymer Webcomponents, especially also with different browsers. Firefox has in the mean time updated it’s software so these webcomponents can be rendered better.

But all this was a year ago and technology moves ahead at a fast pace. So it might indeed be time to revisit this issue and see what can be done.


#7

Facebook at least gives you a debugger tool - Sharing Debugger - Facebook for Developers Not sure about other crawlers