I have PERSONAL_WWW_PAGE = [('My Page', 'a single personal web page',
'test.html') ] in my local_conf.py
And a test.html in /usr/share/freevo/htdocs and it works like a charm.

(working with the latest svn)

Greetz,
Frank

-----Oorspronkelijk bericht-----
Van: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Namens Duncan Webb
Verzonden: 02 June 2007 23:02
Aan: freevo-users@lists.sourceforge.net
Onderwerp: Re: [Freevo-users] vlc plugin - how to use?

Jody Gugelhupf wrote:
> still problems...
> 
>> Jody Gugelhupf wrote:
>>>> Jody Gugelhupf wrote:
>>>>> hi there again :)
>>>>> thx for the link, got it and tried this out:
>>>>> PERSONAL_WWW_PAGE = [
>>>>>     ('My Page', 'a single personal web page', 'test.html') ]
>> This is strange, I just added the above lines to my local_conf.py and 
>> just to the right of 'Help' is 'My Page'
>>
>> can you check web_types.py and see it the has a PERSONAL_WWW_PAGE?
>>
>> # grep PERSONAL src/www/web_types.py
>>         if hasattr(config, 'PERSONAL_WWW_PAGE'):
>>             for page in config.PERSONAL_WWW_PAGE:
> 
> checked it and got exactly the same
> 
>> If not then your svn version is too old. If you have use a view 
>> source option of the web page in your browser and see if the item is
there.
>> Sometimes the pages are cached by the browser and adding a '?' to the 
>> end of the URL forces a refresh. eg.
>>
>> http://localhost:8080/?
>>
> checked the source, item is not there and did several refresh also 
> with '?' at the end but nothing, made absolutly sure that the correct 
> local_conf.py was loaded, but it's just not working and no errors in the
webserverlog of freevo, any other ideas? someeles the same problems?
> cheers =)

Try the attached patch and look for the text 'adding personal web page'
in the webserver.X.log, if the text is not there then you must be picking up
the wrong local_conf.py.

IIRC it should be in the directory that you are running freevo test
installation from.

Duncan

>>>>> and put the test.html into the
>>>>> ~/freevo-test/share/freevo/htdcos
>>>> Do you mean?
>>>> ~/freevo-test/share/freevo/htdocs
>>> yes i mean that
>>>
>>> --- Duncan Webb <[EMAIL PROTECTED]> wrote:
>>>
>>>> Jody Gugelhupf wrote:
>>>>> hi there again :)
>>>>> thx for the link, got it and tried this out:
>>>>> PERSONAL_WWW_PAGE = [
>>>>>     ('My Page', 'a single personal web page', 'test.html') ] and 
>>>>> put the test.html into the ~/freevo-test/share/freevo/htdcos
>>>> Do you mean?
>>>> ~/freevo-test/share/freevo/htdocs
>>>>
>>>>> directory, where also the index.rpy and the others are, then i 
>>>>> started freevo
>>>> Did you set
>>>> export PYTHON_PATH=~/freevo-test
>>> yes i did
>>>
>>>  
>>>> Just to be very sure that the new files are being picked up you can 
>>>> move the non-svn directories out of the way.
>>>> mv /usr/share/freevo /usr/share/freevo-original
>>> did it
>>>  
>>>> I'm not 100% sure how the html docs are picked up, possibly it is 
>>>> hard-coded somewhere, hopefully not.
>>>>
>>>> Duncan
>>> still no extra tab anywhere to see, any other ideas or suggestions?
>>>
>>> thx katie :)
>>>
>>>
>>>
>>>>> katie :)
>>>>>
>>>>> --- Duncan Webb <[EMAIL PROTECTED]> wrote:
>>>>>
>>>>>> Jody Gugelhupf wrote:
>>>>>>> well i have created a little side which automatically initiates 
>>>>>>> 2 vlc streams when i open
>> it
>>>>>>> directly from my tv card for live tv streaming and watching over 
>>>>>>> the internet, one stream
>> is
>>>> a
>>>>>> mms
>>>>>>> stream and the other is a http stream i also wrote a littel 
>>>>>>> script which makes able to
>>>> switch
>>>>>>> channels via the website interface, the nice thing is that the 
>>>>>>> stream is not interupted
>> for
>>>>>>> switching the channles, the command is send directly to my 
>>>>>>> tvtuner, thus a continous
>> stream,
>>>>>> it
>>>>>>> works really nice, now it would really cool if i could combine 
>>>>>>> it with my freevo
>> webserver,
>>>>>> atm i
>>>>>>> run it on my apache webserber, cuz i don't know how to add it to 
>>>>>>> the freevo webserver, the
>>>>>> nicest
>>>>>>> thing would be just to have an extra tab, which then loads my 
>>>>>>> site, any ideas on how to
>>>>>> accomplish
>>>>>>> that?
>>>>>> You're in luck, while I was looking at how this is implemented I 
>>>>>> noticed that it is very easy to do so this feature is now in the 
>>>>>> svn rel-1 branch. Check the local_conf.py.example for the settings.
>>>>>>
>>>>>> I allows you to either have a page as html or rpy or a directory of
pages.
>>>>>>
>>>>>> Writing pages as rpy is surprisingly easy, just look at the 
>>>>>> existing pages. Writing html with the freevo css is not too 
>>>>>> difficult, just a question of using the correct tags.


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users

Reply via email to