Typo macro text plugin for YouTube

Here is a stupid little macro plugin for typo I wrote so you can type
<typo:youtube vid=“vid_id” /> and it will embed the youtube code into a
post. It took all of two minutes but I would love to go further by
maybe incorporating all the popular video sites. Let me know what you
think.

http://youdummy.net/blog/articles/2006/10/07/youtube-macro-text-plugin

Ooh. Cool.

Scott

Thanks!

Updated with a brand new version with lots of new features including
support for Google Video.

Check it out

http://youdummy.net/blog/articles/2006/10/09/updated-video-macro-plugin-for-typo

-Steve

Cool.

Maybe someone can use these models to write the equally useful “stupid
little macro plugins” for Wikipedia (with a pull-down to set the
language
perhaps), and the other wiki ‘sister projects’:

Wiktionary
Dictionary and thesaurus

Wikinews:
Free-content news

Wikiquote
Collection of quotations

Wikispecies
Directory of species

Or perhaps someone knows of an open ‘quotd’ server that we can put a
wrapper
around…

Thanks!

Updated with a brand new version with lots of new features including
support for Google Video.

Check it out

http://youdummy.net/blog/articles/2006/10/09/updated-video-macro-plugin-for-typo

-Steve

Actually, here is a call to a quotes generator that you can put in a
sidebar
block

http://www.quoteworld.org/add_quotes2your_site
Visit there and grab the javascript they offer.

Maurizio Lemmo - Tannoiser wrote:

Hi Steve,
I modified the suggested code from youtube in this way:

If you think it’s make sense, I could send you a patch.

Nice plugin in any case.

Bye,

Thanks for the suggestion. I have made the changes and also updated my
blog to reflect the changes and so that people can download the newest
version. Check it out here.

http://youdummy.net/blog/articles/2006/10/15/new-version-1-1-of-the-video-macro-plugin-for-typo

-Steve

  • martedì 10 ottobre 2006, alle 15:02, Steve Lenti scrive:

Updated with a brand new version with lots of new features including
support for Google Video.

Check it out

http://youdummy.net/blog/articles/2006/10/09/updated-video-macro-plugin-for-typo

Hi Steve,

I’m taking a look to your plugin.

May I suggest an improve? The code for embedding youtube (and google
also), is not xhtml compliant.

It’s not your fault, of course, it’s came from youtube already “broken”.
The problem to me, is the use of tag. This tag is an
Internet-Explorer only and not a valid tag for xhtml for what I know.

I modified the suggested code from youtube in this way:

from the one suggested from youtube (I pick a random video):

in this:

In this way, the xhtml code validate and run correctly (I’m not tested
with IE beacause I’haven’t one, but, the code is xhtml valid, so, I
think it’s had to work).

With this in mind, I could suggest to modify your plugin in this way?

If you think it’s make sense, I could send you a patch.

Nice plugin in any case.

Bye,


Maurizio - Tannoiser - Lemmo
Founder Member of ERLUG http://erlug.linux.it

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs