Added Addthis, but sharing a post shows title of page
Added Addthis, but sharing a post shows title of page
Hi. I just put serendipity on my site, and added the addthis sharing feature to it, but when i make a post and copy and paste the link to a specific post into facebook, the facebook link states the title of my full serendipity ran page, and doesnt have any of the text from the post displayed. How do I change this?
Re: Added Addthis, but sharing a post shows title of page
Erm. Are you saying you copy the link generated by the addthis widget manually into a post on FB? Because you'd only need to copy the title link (most templates link the title of an entry to the single entry page) into a FB post, that should work fine …?anthonytv wrote:I just put serendipity on my site, and added the addthis sharing feature to it, but when i make a post and copy and paste the link to a specific post into facebook, the facebook link states the title of my full serendipity ran page, and doesnt have any of the text from the post displayed. How do I change this?
YL
Re: Added Addthis, but sharing a post shows title of page
http://anthonytv.com/index.htmlyellowled wrote:Erm. Are you saying you copy the link generated by the addthis widget manually into a post on FB? Because you'd only need to copy the title link (most templates link the title of an entry to the single entry page) into a FB post, that should work fine …?anthonytv wrote:I just put serendipity on my site, and added the addthis sharing feature to it, but when i make a post and copy and paste the link to a specific post into facebook, the facebook link states the title of my full serendipity ran page, and doesnt have any of the text from the post displayed. How do I change this?
YL
This is my new site, i put serendipity as a subdomain into an iframe as my news page, and you'll see i made a post entitled "First Post!," but when you share that post via the addthis tool or even just try to right click "first post!" and copy the link it will show up in facebook as "Anthony TV News" and underneath just have the web URL, when i'd like it to say "First Post!" and underneath have the text from that very post.
http://www.anthonytv.com AnthonyTV - From The Miraculous to The Conspiracy
Re: Added Addthis, but sharing a post shows title of page
Okay, so it doesn't seem to be an issue of using an embedded s9y – even if I invoke addthis from your subdomain, it sends the blog title and URL to FB. It does seem to work properly with Twitter, however, so it might be specific to FB.anthonytv wrote:but when you share that post via the addthis tool or even just try to right click "first post!" and copy the link it will show up in facebook as "Anthony TV News" and underneath just have the web URL, when i'd like it to say "First Post!" and underneath have the text from that very post.
The only thing we do on the template side is get the url and title of a post and relay those to addthis, which seems to work fine with other services. So I guess this is a FB-only issue.
I have to admit I haven't used addthis in a long time myself. Maybe Don knows more about this.
YL
Re: Added Addthis, but sharing a post shows title of page
I think it has something to do with Fb's use of what is called the "open graph" protocoland meta tags. For instance, look at this article: http://www.wpbeginner.com/wp-themes/how ... ss-themes/ Perhaps that can lead someone toward helping me figure this out for serendipity?
http://www.anthonytv.com AnthonyTV - From The Miraculous to The Conspiracy
Re: Added Addthis, but sharing a post shows title of page
I don't think it's a s9y issue, actually.anthonytv wrote:Perhaps that can lead someone toward helping me figure this out for serendipity?
Anyway, you could always use the findmore plugin as an alternative (it does give you basically the same sharing options, but without addthis). If you want to automatically post blog entries to FB, you should probably have a look at suitable FB apps for that. RSS Graffitti works pretty well.
YL
-
- Regular
- Posts: 3652
- Joined: Mon Feb 13, 2006 2:40 am
- Location: Chicago, IL, USA
- Contact:
Re: Added Addthis, but sharing a post shows title of page
I see you are using the bulletproof template - are you using the addthis feature built into the template, or did you add your own code?
And, while not related to your issue, why using an iframe?
And, while not related to your issue, why using an iframe?
=Don=
Re: Added Addthis, but sharing a post shows title of page
I went into administration adn in my settings it had an option to give my addthis account #, so no I didn't add in any code myself. also, I did the iframe because all of the other links on the top of my page will load directly into the iframe, leaving less bandwidth used and ease of site design for me.
http://www.anthonytv.com AnthonyTV - From The Miraculous to The Conspiracy
-
- Regular
- Posts: 3652
- Joined: Mon Feb 13, 2006 2:40 am
- Location: Chicago, IL, USA
- Contact:
Re: Added Addthis, but sharing a post shows title of page
Edit your template's index.tpl file, and add this somewhere in the <head>:anthonytv wrote:I think it has something to do with Fb's use of what is called the "open graph" protocoland meta tags. For instance, look at this article: http://www.wpbeginner.com/wp-themes/how ... ss-themes/ Perhaps that can lead someone toward helping me figure this out for serendipity?
Code: Select all
{if $view =='entry'}
<meta property="og:title" content="{$entry.title|escape}" />
<meta property="og:type" content="article" />
<meta property="og:url" content="{$entry.rdf_ident}" />
<meta property="og:site_name" content="{$blogTitle}" />
{/if}
=Don=
Re: Added Addthis, but sharing a post shows title of page
Make also sure you enable RewriteUrl. FB has bugs with the escaping of urls, so it won't work to link to normal entries when they are not rewritten.
Re: Added Addthis, but sharing a post shows title of page
@YL - sorry for a small detour...
This just brought me up to remember to ask you, if this rdf link in entries.tpl needs the xml like ending in HTML5 too or can be written as ">?
This just brought me up to remember to ask you, if this rdf link in entries.tpl needs the xml like ending in HTML5 too or can be written as ">?
Code: Select all
<rdf:Description
rdf:about="{$entry.link_rdf}"
trackback:ping="{$entry.link_trackback}"
dc:title="{$entry.title_rdf|@default:$entry.title}"
dc:identifier="{$entry.rdf_ident}" />
</rdf:RDF>
Regards,
Ian
Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
Ian
Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
Re: Added Addthis, but sharing a post shows title of page
If I interpret it correctly, RDF/XML does not require " />". Then again, it doesn't really hurt to leave it that way, does it?Timbalu wrote:This just brought me up to remember to ask you, if this rdf link in entries.tpl needs the xml like ending in HTML5 too or can be written as ">?
YL
Re: Added Addthis, but sharing a post shows title of page
Damn it, I attempted to do so but the parent directory is read-only, it seems that if you use 1and1's click and build to install serendipity, that they lockdown the files so youre stuck with their templates. What should I do?Don Chambers wrote:Edit your template's index.tpl file, and add this somewhere in the <head>:anthonytv wrote:I think it has something to do with Fb's use of what is called the "open graph" protocoland meta tags. For instance, look at this article: http://www.wpbeginner.com/wp-themes/how ... ss-themes/ Perhaps that can lead someone toward helping me figure this out for serendipity?
Code: Select all
{if $view =='entry'} <meta property="og:title" content="{$entry.title|escape}" /> <meta property="og:type" content="article" /> <meta property="og:url" content="{$entry.rdf_ident}" /> <meta property="og:site_name" content="{$blogTitle}" /> {/if}
http://www.anthonytv.com AnthonyTV - From The Miraculous to The Conspiracy
-
- Regular
- Posts: 3652
- Joined: Mon Feb 13, 2006 2:40 am
- Location: Chicago, IL, USA
- Contact:
Re: Added Addthis, but sharing a post shows title of page
If you have FTP, or file manager access plus database access via a tool like phpmyadmin, I would ditch their 1-click installation and install serendipity yourself. I had to do this many years ago with godaddy.anthonytv wrote:What should I do?
=Don=