To do a search in YouTube, try:

http://www.youtube.com/results?search_query=xyz

where you replace xyz with your search terms

On Oct 18, 2:18 pm, Bob Paige <bobpa...@gmail.com> wrote:
> I have a TW of songs we perform at my church, one song per tiddler. So far
> I've been manually looking for youtube links for those songs, but I'm
> wondering if there is some way to do this more automatically, or at least
> without having to switch back and forth so much between browsers.
>
> My current solution (assuming you know the youtube url for the song) is a
> macro that takes the URL as a parameter and displays it with this:
> "+++[<img src =http://www.youtube.com/favicon.ico>]<html><object width='425'
> height='355'><param name='movie' value='" + link + "'></param><param
> name='wmode' value='transparent'></param><embed src='" + link + "'
> type='application/x-shockwave-flash' wmode='transparent' width='425'
> height='355'></embed></object></html>==="
>
> This gives me a youtube icon that, when I click on it, expands to show an
> embedded youtube player. Works well.
>
> What would be cool is to have a macro that, given the song title, queries
> youtube and parses the resulting html for song links, then display them as
> options for the user (they could be embedded youtube viewers similar to
> above). The user could select one and that URL would be placed in my
> videolink field (an extended field I have on the tiddler).
>
> I think the big part I'm missing is the html-parsing; is there any existing
> code to help me with this, or do I just need to roll my own in javascript?
>
> Or is there another elephant in the room I'm not seeing?
>
> --
> Bobman

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To post to this group, send email to tiddlyw...@googlegroups.com.
To unsubscribe from this group, send email to 
tiddlywiki+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.

Reply via email to