• Resolved mihannsell

    (@mihannsell)


    I’d like to build a custom schema for each web story.

    I checked the DB and I saw that each web story is kept in a flat structure, no attachments, no metadata.

    I’d like to be able to get the array of all the slides with the images, captions and titles being placed within each slide.

    is it possible anyhow?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Pascal Birchler

    (@swissspidy)

    What kind of schema are you trying to build / what for? Note that schema.org data is already automatically added by the plugin.

    If you need something completely custom, you can check how the story data is stored in the wp_posts.post_content_filtered database column. Through that you can retrieve the story content in a more structured format. Note that we don’t provide documentation or support for directly accessing this data and the structure keeps evolving over time.

    Hope that helps!

    Thread Starter mihannsell

    (@mihannsell)

    This is very helpfull, and probably I will be able to extract all the data I need to build extra schema for our purpose.

    Thank you very much!!!

    Thread Starter mihannsell

    (@mihannsell)

    BTW – haven’t you consider adding the MediaGallery schema?

    Using the data stored in wp_posts.post_content_filtered is not enought to extract the elements I want to use for MediaGallery schema. If single page contains more than one image in it – there’s no way for me to mark one given image as the one I want to include in MediaGallery schema.

    Thread Starter mihannsell

    (@mihannsell)

    Samo goes for the Text elements on the page – I can’t tag them to be able to distuingiush them later, can I?

    Plugin Author Pascal Birchler

    (@swissspidy)

    BTW – haven’t you consider adding the MediaGallery schema?

    We’re focused on structured data markup that Google Search supports.

    Samo goes for the Text elements on the page – I can’t tag them to be able to distuingiush them later, can I?

    Not sure I understand what you mean here. If you mean annotating text elements in the editor in a specific way (e.g. for including/excluding them from the schema.org schema), then no, that’s not something the editor supports, we do not have a use for that.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Custom Schema’ is closed to new replies.