I have a custom node type that is somewhat complicated. It seems when I try to Share using Facebook for example, it ends up grabbing text from the page footer rather than some text from the node it self. What would be the best way to ensure that it grabs the text I would like it to grab?
Comments
Comment #1
les limOutside of the scope of this module, since AddThis doesn't have much control over how Facebook parses your page.
Here's the correct way to do it:
http://www.facebook.com/pages/oEmbed/110969048954437
Another way is to set the
<meta name="description">tag in your page's header. You might try the nodewords module in D6 for this.Comment #2
webgeer commentedI sort of new that, but I was hoping to clarify if the module does any assistance.
Am I correct in assuming that when you click on a button, all the addthis module does is tell the addthis website what the button was pushed and what page is being shared. Add this then sends that information to the service (facebook for example) and facebook then scrapes the page to grab the logo, title and text. The module does not do anything to share this data?
I was also hoping if anyone has a simple guidance to help format the page this scraping. It always seems to get the title and the logo, but the block of text is sometimes not right. Are most of these scrapers looking for a
block and if I create one of those it will use that block? I'll probably experiment tonight to see what I can figure out.
Comment #3
les limThat's the basic idea, yes.
I can tell you that in Facebook's case, if the page doesn't have any oEmbed data or a META description, it usually looks for the very first
<p>in the HTML source and uses that for the text.