Changes between Version 13 and Version 14 of collective.embedly


Ignore:
Timestamp:
Mar 2, 2011 10:06:43 AM (14 years ago)
Author:
olha
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • collective.embedly

    v13 v14  
    1010== Overview == 
    1111 
    12 This package provides TinyMCE visual editor support for [http://api.embed.ly/docs embed.ly] service, so that media (audio, video, photo, ...) can be inserted to Plone from different services: video streaming services, audio resources, photo stocks, etc. 
     12This package provides TinyMCE visual editor support for [http://api.embed.ly/docs embed.ly] service: videos, images and other rich media files can be inserted to Plone from different services through one API. The approach here is to use the Transform machinery to replace the URL with embed code by calling the embed.ly API. 
    1313 
    14 The approach here is to use the Transform machinery to replace the URL with embed code by calling the embed.ly API. 
     14There are [http://api.embed.ly 204 services] so far that support embedly service, such as: 
     15 * video sharing sites: Youtube, Blip.tv, Vimeo, TED.com 
     16 * audio streaming services: Grooveshark, !SoundCloud, last.fm 
     17 * image/photo sticks: Flickr 
     18 * other: !GoogleMaps,  Facebook, Twitter 
    1519 
    1620== Usage == 
    1721 
    18  1. Go to your site '''HTML Filtering''' panel (/@@filter-controlpanel) and remove ''embed'' and ''object'' from the list of '''Nasty tags''' and add them to the list of '''Custom tags'''. 
     22To embed media from the embedly-supported external resource to Plone: 
     23 
     24 1. Go to your site '''HTML Filtering''' panel (/@@filter-controlpanel) and add tags that are used for embedding content from that external service into the list of '''Custom Tags''' and remove them from the lissts of '''Nasty Tags''' and '''Stripped Tags'''. These are usually such tags as ''embed'', ''object'', ''iframe'' and others.  
    1925 
    2026 2. Go to the object's edit form, select some text and choose "Embedly link" style  for it 
     
    2228 [[Image(style.png, nolink)]]    
    2329 
    24  3. The text should now look like linked (TinyMCE makes the whole passage linked) 
    25  4. Select this text again and go to ''Insert link'' to insert the URL to the desired object (e.g. ''!http://youtube.com/..''). 
     30 3. The text should now look like linked. TinyMCE makes the whole passage linked, so keep in mind that the whole passage will later be substituted with embedded media. 
     31 4. Select this text again and go to ''Insert link'' to insert the URL to the desired object on the external service. 
    2632 5. Save this page 
    2733 
    2834Now when rendered, there will be "preview" from embed.ly service inserted instead of the linked text. 
    2935 
    30  [[Image(page.png, nolink)]] 
     36== Examples == 
    3137 
     38Let's consider adding links to objects on such sites as: 
     39 
     40=== 1. !YouTube on Plone === 
     41 
     42http://www.youtube.com/watch?v=LBDtqdOG4Uc 
     43 
     44[[Image(page.png, nolink)]] 
     45 
     46 
     47=== 2. blip.tv on Plone === 
     48 
     49http://quintagroup.blip.tv/file/2074802 
     50 
     51=== 3. Flickr on Plone === 
     52 
     53http://www.flickr.com/photos/quintagroup/3468489696 
     54 
     55=== 4. Google Maps on Plone === 
     56 
     57http://maps.google.com/maps?f=q&source=s_q&hl=en&geocode=&q=lviv&aq=&sll=49.85,24.016667&sspn=0.300621,0.617294&ie=UTF8&hq=&hnear=L%27viv,+L%27vivs%27ka+oblast,+Ukraine&z=12&iwloc=A 
     58 
     59 
     60