Thanks for the link. I believe the harder part will be sifting through the mass of HTML I get back, looking for the links. That was my original request; does TW provide anything to help me here, or should I expect to roll my own in javascript?
-- Bobman On Mon, Oct 18, 2010 at 4:19 PM, Saverio <[email protected]> wrote: > 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 <[email protected]> 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 [email protected]. > To unsubscribe from this group, send email to > [email protected]<tiddlywiki%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/tiddlywiki?hl=en. > > -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en.

