Introduction
This is a first version of the product. We want a software that transform url into embed code working on the client side.
For example.
If I give to the software the following text >>
this is a example text with google url www.google.es
I am expecting as a result this>>
this is a example text with google url <a href="www.google.es">www.google.es</a>
Which technologies do we use
We are using jQuery, jQuery templates and Javascript.
How it works
1 . Getting URLSWe parse the text looking for urls and we return a list
2 . Transform each URLNow we have a URL, so we find a match in the list of providers, each provider implements a function that return true if the provider can transform the given url. Once we know which kind of url is we can transform it using a Template.
It has so many advantages, check that list:
- I like it because we can implement multiple url providers and soon with the contribution of people we can have a extensive list of them
- Also is easy to customize for our site, we can modify the templates adding classifiers or extra divs in order to make it fit with our site style.
- Is faster for the user, as it is client side, whereas other system send the whole embed code to the user we only send the url.
- Is cheap, other url transformation appart from that they are server side, they charge you for each url transformation.
What I would like to improve for the next release:
- As you can see from the source code I am not a Javascript, jQuery Guru expert, I know most of the code can be refactored or reformatted. Please we need your help
- We need to add a few more providers and templates to start with :)
How can I contribute?
- You can share your own templates
- You can create new embed providers
- You can modify the core the of the system
- You can write documentation
- You can create video tutorials or examples
- Whatever came to your mind that helps to build a great project.
How can I join?
Just let a comment with your email and I will contact you.