The ted.com twitter widget? - api

On all the videos on ted, there is a widget thing with an inputfield that says tweet this (we'll add the url later) you put stuff in a box, it get's a tiny-url and get's pushed to facebook.
I'm trying to figure out what it's called. Does anyone have a clue?
example:
http://www.ted.com/talks/dan_phillips_creative_houses_from_reclaimed_stuff.html

Looks like they are using the service provided by AddThis. Looking at their site, they offer some stock sharing links, but also have an API for creating more advanced ones.

Related

Branch.io: Is there a way to specify which page a branch banner can appear on in a single page app?

I am using a branch.io banner via the branch.io SDK on a site that is a single page app.
Branch has a feature where it lets you specify the urls where the banner will appear.
The problem is because my site is a single page app, branch appears to fail to recognize page changes, and which page is actually being viewed.
is there any way to configure branch smart banners to slow on specific pages when using it on a single page app, or am I out of luck?
Jackie from Branch here.
Here's how we support single page web apps.
Close the current Journey: https://docs.branch.io/pages/web/journeys/#closing-a-journey-programmatically
Trigger to show the Journey: https://docs.branch.io/pages/web/journeys/#trigger-a-journey-to-show-by-firing-an-event
Set deep link data(https://docs.branch.io/pages/web/journeys/#deep-linking-from-the-banner-or-interstitial) - this is only required if custom key-value pairs are used. With Canonical URL, Branch handles this at its end.
As a point of reference, feel free to take a look at our example single app, using the above features: https://mikekwon36.github.io/owners_testpage
Hope this helps!

Google +1 button on Google sites

I have a google site and I want to add several «+1»-buttons on one page.
As I understood, all different buttons must be related to different URL's, so I created one more page with a «+1»-button, which can be simply added.
Now I want to have the same button on the main page, how can I achieve this?
I've already browsed many things about it, f.ex., https://developers.google.com/+/web/+1button/
but I can't add Javascript on Google sites!
That's ridiculous, it has information about how to add it for other sites, but not for their own.
I re-read the documentation here:
https://developers.google.com/+/web/+1button/#plusonetag-parameters
The ability to control each button individually is available in platform preview only.
Sorry.

Google+ badge on websites

I am trying to put a Google+ badge on my recently created websites at sites.google.com. When I copy the code and paste it into the HTML box actually nothing happens.
What am I doing wrong?
You can use to insert a Google+ Badge into your Google Sites pages using a custom gadget:
Get your Google+ profile ID, which you can get from the URL of your profile. The ID would be 123456789012345678901 for this URL: https://plus.google.com/123456789012345678901/ or would be +LarryPage for this URL: https://plus.google.com/+LarryPage/
Edit the page that you want to add the badge
Choose Insert-> ...More gadgets...
Search for G+ Badge.
Paste your profile ID into the G+ ID field.
Configure additional options as necessary for your page. You might need to adjust dimensions of the gadget container to get the badge to work well in your site.
Gadgets have limitations, this might not work perfectly but its probably the best way to get a badge onto your page.
There is a configuration tool for the Google+ Badge that you can find at https://developers.google.com/+/web/badge/.
The key points are that you need to add the HTML as a widget and include the JavaScript tag--which is the same JavaScript that loads any of our Google+ attributes.
I also made a 3 minute video explaining these steps last year, which you can view at http://www.youtube.com/watch?v=wLG4IIIPgnc.

Google Search API with joomla

I would like to implement the google search API in a joomla site. What would be the best way to pass the search query and show the results inside of my templates content area. Making a custom component or there is a lighter workaround?
You could always try RokAjaxSearch as I believe this has the ability to display results from Google. And above all, it's Ajax, therefore doesn't refresh the page.
Hope this helps

How to build persistent element like facebook chatbar which not reload when navigate to any page?

i developed a radio stations widget (see it at my site). the problem is, i dont know how to make it persistent same like on the http://josephbeeson.com/gwapdemo/gwap.html . it's like facebook chatbar which not reload when navigate to any page. i have try n look for the demo codes but still not understand. please give step by step tutorial. i want to implement it on my social website http://www.heypy.com.
The whole page does not get reloaded, the new content is just loaded via AJAX and displayed within the current document.
To make it look to the user like he’s navigated to some other URL, the address bar content is updated using the HTML5 History API.
please give step by step tutorial.
Happy to give you the relevant keywords, so you can do research on them yourself. But won’t provide a private tutorial here, that’s not the purpose of this site. Thanks for your understanding.