Sharing on social media

  1. 5 years ago

    Hi there,

    The HTML5 output has an option to have social buttons in order to share content on social media.
    As an example we can share with Facebook.
    But, how does it works? Can we share a single pubcoder page? Can we control the meta info facebook reads from the page?

    Thanks.
    Humberto

  2. Paolo A

    25 Jul 2016 Administrator

    Hello Humberto,

    position yourself on HTML5 workspace, press on "Project Settings" button and select "Allow Sharing on Social Networks" checkbox (as shown in figure).

    -image-

    The full link page with the entire book will be shared. There is no way to control the meta info, you can do that in the corresponding xhtml file if you want.

  3. Hi Paolo, thanks.
    Can you tell where is the xhtml file?

  4. 3 years ago
    Deleted 2 years ago by Angelo S
  5. 3 months ago

    Hello, does the current version of Pubcoder still have the option to have social media sharing buttons/embedding for the HTML5 output? I cannot see those sharing options on the Project Settings. Thanks for helping

  6. Angelo S

    Jun 9 Administrator

    We have removed this feature in PubCoder 4 since it was limited to certain services and users prefer to handle this on their own.

    As an alternative, you can easily use ShareThis or similar services and embed the sharing code in-page. Using ShareThis in PubCoder is a two-step process: simply paste the buttons code in a Smart Object:

    <div class="sharethis-inline-share-buttons" data-url="https://pubcoder.com" data-title="Sharing is great!"></div>

    and import the ShareThis library in Code → Project → HTML Head:

    <script type="text/javascript" src="https://platform-api.sharethis.com/js/sharethis.js#property=60c09b2226c3eb001107c374&amp;product=inline-share-buttons" async="async"></script>

    Be sure to change the property value with the one for your own sharethis account.

    Here's an example project for this: https://www.dropbox.com/s/l37opkazpejhulq/sharethis-example.pubcoder?dl=1

  7. 2 months ago

    Thank you Angelo!

 

or Sign Up to reply!