WP-itheora modules for wordpress

10 replies [Last post]
marionline
User offline. Last seen 39 weeks 4 days ago. Offline
Joined: 21/02/2010

Hallo, I'm Italian medical student.

I start to write a module for wordpress to integrate itheora in it:
http://github.com/marionline/wp-itheora

I don't know French so I have got some troubles to understand comments in itheora, can you write comment in English and not in French next time?

I'm finding some bugs in itheora, I don't understand if the bug come out from my integration. Your development page is not accessible and I want to give you some path in future.

Thank you very much for your work.

--
Mario Santagiuliana
http://www.marionline.it

P.S. excuse me for my bad English.

JosephK
User offline. Last seen 1 week 4 days ago. Offline
Joined: 19/02/2010
WP-itheora modules for wordpress

marionline wrote:
I don't know French so I have got some troubles to understand comments in itheora, can you write comment in English and not in French next time?

P.S. excuse me for my bad English.


I don't speak english very well so I comment in order to understand what I have done when I re-read my code Big smile
But yes, I will do this next time Wink

The dev page looks like a "notepad" not really like a collaborative area... but I'm trying to change that. Actually I'm moving the site to Drupal (the reason because the dev page was down) in order to be more effective (ITheora is on stand by since more than a year).

But now... I need to sleep Smile

marionline
User offline. Last seen 39 weeks 4 days ago. Offline
Joined: 21/02/2010
WP-itheora modules for wordpress

Thank you for your reply.

Quote:
I don't speak english very well so I comment in order to understand what I have done when I re-read my code big_smile

I readed that for the news of itheora.org Smile

Quote:
(ITheora is on stand by since more than a year).

Have you got the intention to move the code project on a subversion system?
I'm learning git, it is very powerfull and I start use github last week to follow dt-s3-backup script.

In my plugin I try to make less changes possible to itheora code.
I'm debuggin the application and I have got some warning and notice to fix in a development enviroment (no problem in a production enviroment), this "bug" are in official itheora package too. If you use an online sub-versioning (or git that is distribuited) we can collaborate more easly isn't?

Thank you for your work Smile

freechelmi
User offline. Last seen 1 year 38 weeks ago. Offline
Joined: 08/03/2008
WP-itheora modules for wordpress

hello, I can translate all the comments in English and update the package . I'm almost fluent Tongue

marionline
User offline. Last seen 39 weeks 4 days ago. Offline
Joined: 21/02/2010
The basic features of my

The basic features of my plugin are almost complete.
I hope to ask to add my plugin to wordpress directory the next week.

I see that you work greatly on itheora.org website, well done Big smile

Now development section are accessible but it is in French...I don't know French...

JosephK
User offline. Last seen 1 week 4 days ago. Offline
Joined: 19/02/2010
I've translated and updated

I've translated and updated the dev page as I could but I think you won't found something for your module.

marionline
User offline. Last seen 39 weeks 4 days ago. Offline
Joined: 21/02/2010
Thank you very much for your

Thank you very much for your translation.

How can I contribute in future to the php code of itheora?
Any subversioning system are accessible by people?
I like very much github (with this service is really easy to fork projects and then ask to original project to merge new forks) and git.

JosephK
User offline. Last seen 1 week 4 days ago. Offline
Joined: 19/02/2010
Quote:Any subversioning

Quote:
Any subversioning system are accessible by people?

No, not yet...

marionline
User offline. Last seen 39 weeks 4 days ago. Offline
Joined: 21/02/2010
I start to update my script

I start to update my script to include the new version of itheora (v2.2).

I have got some path to propose to itheora.
There isn't a public subversioning repository yet, isn't?

JosephK
User offline. Last seen 1 week 4 days ago. Offline
Joined: 19/02/2010
No, because I don't want to

No, because I don't want to work on the version 2 anymore and version 3 need to restart from the scratch so... when I will have a new version that really works (just for video first... not playlist, audio, etc) I will create a svn repository (I need to learn how it works Smile ) then anyone could contribute.

Actually, I have done 2 pieces of the puzzle : a script that check if jquery is loaded before starting the dom conversion ; and the interface XML/XSL with jquery effects and CSS optimisation to make it easier to customize : demo (yet a draft)
Here the test.php code (it will be the future "link" page (jquery is not enable in this page actually) and the "player" div is call by ajax in the test.html file.) :


<?php
function translate($text) {
    return 
$text;
}
// Load the XML source
$xml = new DOMDocument;
$xml->load('cache/test.xml');</p>

<
p>$xsl = new DOMDocument;
$xsl->load('skins/default/video.xsl');</p>

<
p>// Configure the transformer
$proc = new XSLTProcessor;
$proc->importStyleSheet($xsl); // attach the xsl rules</p>

<p>$result $proc->transformToXML($xml);</p>

<
p>$result=str_replace("<lg>","<?php echo translate('",$result);
$result=str_replace("</lg>","') ?>",$result);
$result=eval("?".chr(62).$result.chr(60)."?");</p>

<
p>echo $result;
?>

I'm working on the browsers compatibility because it's more difficult (core is already done, it just need to be cut up and replace in the right place)

So if you want to submit improvement for the version 2 you will be the only master on board. ( josephk at itheora.org to send me explanations and files)

marionline
User offline. Last seen 39 weeks 4 days ago. Offline
Joined: 21/02/2010
Thank you very much for your

Thank you very much for your work Big smile

Quote:

I will create a svn repository (I need to learn how it works Smile ) then anyone could contribute

I suggest to use git repository, I find it really easy to learn and really powerfull.

I hope to help you in future.