Displaying Pinterest Boards
Permalink 1 user found helpful
Pinterest has an API that enables you to publish 'boards'. Here's an example. http://www.johnmcbride.com/pinterest/...
In PHP, you simply include this...
and then you can display any board you want like so...
Can this be done in C5? If so, what's the best way to do it? (Sorry if this is a dumb question, but I don't use C5 as much as I'd like to...)
John
In PHP, you simply include this...
<script type="text/javascript" src="//assets.pinterest.com/js/pinit.js"></script>
and then you can display any board you want like so...
<a data-pin-do="embedBoard" href="http://pinterest.com/jrmcb/flori-daze/"></a>
Can this be done in C5? If so, what's the best way to do it? (Sorry if this is a dumb question, but I don't use C5 as much as I'd like to...)
John
It worked! And for reasons I don't fully understand, javascript must follow the anchor tag(s). The script only needs to be loaded only once, but works best if it's the last line in the HTML block.
Here it is...http://maccaplighting.com/gallery/...
Thanks!!
Here it is...http://maccaplighting.com/gallery/...
Thanks!!
Hey JohnPDX,
Where did you put the PHP script for displaying the pinterest boards, what file? Thanks, Tim
Where did you put the PHP script for displaying the pinterest boards, what file? Thanks, Tim
You just add an html block to the page where you want the Pinterest board to appear. Like so <a data-pin-do="embedBoard" href="http://pinterest.com/myPinterestAccountName/myPinterestBoard/"></a>
Of course you replace 'myPinterestAccountName/myPinterestBoard/' with your Pinterest account name and your Pinterest board name.
BTW, I'm still not sure this is a wise move with respect to SEO. Better to have folks pinning your pictures. You can't pin an embedded pin.
Good luck!
Of course you replace 'myPinterestAccountName/myPinterestBoard/' with your Pinterest account name and your Pinterest board name.
BTW, I'm still not sure this is a wise move with respect to SEO. Better to have folks pinning your pictures. You can't pin an embedded pin.
Good luck!
Thanks Much!
Hi John
Your post was very useful as now have one board up on my site using
http://www.pinterest.com/pippapaton/barn-conversions/...
My customer however has multiple boards and these are found at:
http://www.pinterest.com/pippapaton/...
Putting in this link makes the Pinterest displayer not work as i think it needs a last board name.
Do you happen to know how to route it to the top level board summary please?
Ian
Your post was very useful as now have one board up on my site using
http://www.pinterest.com/pippapaton/barn-conversions/...
My customer however has multiple boards and these are found at:
http://www.pinterest.com/pippapaton/...
Putting in this link makes the Pinterest displayer not work as i think it needs a last board name.
Do you happen to know how to route it to the top level board summary please?
Ian
This is new to me. Let me do some digging. Thanks for update.
Hope that helps
Ollie