Do checkout the CVS code....
The theme changer has been modified to a dropdown combo box rather
than "buttons" to save valuable web real estate.
the startup page would be modified to index.php instead of index.html
so that the video keys can be passed onto the flex app using
flashvars.
the xml directory would need to have a .htaccess file which would
rewrite all php generated output to .xml (note: http headers are also
modified)
index.mxml would be modified to load the appropriate "component" based
on the URL.... CUrrent I'm using $_GET to obtain the URI parameters. I
tried using server path but loose the values in transit. Any
suggestions to retain the URL's as http://opentube.info/view/VIDEOKEY
instead of http://opentube.info/?vkey=VIDEOKEY would be appreciated.
the biggest hurdle to retain /path/ is that the javascript that stores
the history gets all messed up...
On Jun 4, 10:34 am, Rohan Pinto <r...@rohanpinto.com> wrote:
> Source Code for the initial backend system to generate XML output for
> the flex frontend consumption via HTTPService is already posted in the
> CVS repository.
>
> Do checkout the CVS code....
>
> The theme changer has been modified to a dropdown combo box rather
> than "buttons" to save valuable web real estate.
>
> the startup page would be modified to index.php instead of index.html
> so that the video keys can be passed onto the flex app using
> flashvars.
>
> the xml directory would need to have a .htaccess file which would
> rewrite all php generated output to .xml (note: http headers are also
> modified)
>
> index.mxml would be modified to load the appropriate "component" based
> on the URL.... CUrrent I'm using $_GET to obtain the URI parameters. I
> tried using server path but loose the values in transit. Any
> suggestions to retain the URL's ashttp://opentube.info/view/VIDEOKEY
> instead ofhttp://opentube.info/?vkey=VIDEOKEYwould be appreciated.
I tried obtaining the URI parsing it and obtaining the values, which
was easy, but the problem was that since references to the other
components like hostory.js and history.swf and index.swf wa absolute,
it basicaly launched a blank page ...
I can obtain the URI and parse it and insert flashvars, but the
insex.swf just does not oload on a URI like http://opentube.info/view/VIDEOKEY
maybe some deeper introspection into the .htaccess file would help us
fix this.
I personally like being able to use http://opentube.info/view/VIDEOID
and/or http://opentube.info/channel/9 instead of http://opentube.info/?vkey=VIDEOID
and/or http://opentube.info/?channel=9 (for SEO optimization)
Rohan
On Jun 5, 12:30 am, Daniel Neri <daniel.a.n...@gmail.com> wrote:
> you can just use mod_rewrite couldn't you?
>
> On Jun 4, 10:34 am, Rohan Pinto <r...@rohanpinto.com> wrote:
>
> > Source Code for the initial backend system to generate XML output for
> > the flex frontend consumption via HTTPService is already posted in the
> > CVS repository.
>
> > Do checkout the CVS code....
>
> > The theme changer has been modified to a dropdown combo box rather
> > than "buttons" to save valuable web real estate.
>
> > the startup page would be modified to index.php instead of index.html
> > so that the video keys can be passed onto the flex app using
> > flashvars.
>
> > the xml directory would need to have a .htaccess file which would
> > rewrite all php generated output to .xml (note: http headers are also
> > modified)
>
> > index.mxml would be modified to load the appropriate "component" based
> > on the URL.... CUrrent I'm using $_GET to obtain the URI parameters. I
> > tried using server path but loose the values in transit. Any
> > suggestions to retain the URL's ashttp://opentube.info/view/VIDEOKEY
> > instead ofhttp://opentube.info/?vkey=VIDEOKEYwouldbe appreciated.
You could plan it so you can keep hisotry of their request, save
current request and more. Depends how creative you wanna get.
Don't know if this help, but i tried :)
On Jun 5, 1:38 am, opent...@gmail.com wrote:
> mod_rewrite works, but then as explained the issue with mod_rewrite is
> that enabling history throws an error... and URL parameter values are
> lost. Even when i tried disabling history i got a blank page...
>
> I tried obtaining the URI parsing it and obtaining the values, which
> was easy, but the problem was that since references to the other
> components like hostory.js and history.swf and index.swf wa absolute,
> it basicaly launched a blank page ...
>
> I can obtain the URI and parse it and insert flashvars, but the
> insex.swf just does not oload on a URI likehttp://opentube.info/view/VIDEOKEY
>
> maybe some deeper introspection into the .htaccess file would help us
> fix this.
>
> I personally like being able to usehttp://opentube.info/view/VIDEOID
> and/orhttp://opentube.info/channel/9instead ofhttp://opentube.info/?vkey=VIDEOID
> and/orhttp://opentube.info/?channel=9(for SEO optimization)