User(s) browsing this thread: 1 Guest(s)
Help with custom Index.htm
|
|
02-04-2012, 11:36 AM
|
|||
|
|||
|
RE: Help with custom Index.htm
Are you able to telnet to your c-200?
CSI Installed? You could use Telnet Client: Putty Config: IP of your C-200 Port: 23 Connection Type: Telnet In the telnet box typ: mount [enter] some listing should appear. That shows your able to mount manually. exit [enter] to close the box My Idea is that the index.htm file will call a whsmount.cgi (mount the shares) and then leads you to your homescreen (with 2 buttons index2.htm or homescreen.htm). First you need a new user on your windows maschine (e.g. user: nmt / password: nmt1234) Then you need two/three more files on your share-root on your c-200 [index.htm] Code: <html>[whsmount.cgi] Change the ip-adress to your share and your username and password (Homescreen.htm or change to your renamed old index.htm) Code: #!/bin/shAfter starting the index.htm it will call the whsmount.cgi and after that takes you to the Homescreen.htm [your old index.htm / Homescreen.htm] Code: <html>C-200 @50'' Panasonic TH-50PX8EA (BR, 2,5''HDD 500GB, LAN) A-110 @42'' LG LED-TV (3,5''HDD 1TB, LAN) CH3SNAS 1TB+500GB, DNS-323 2x2TB, ACER WHS H-340 1TB !! VOTE FOR !! multiple switchable external subtitles (srt) |
|||
1 user says Thank You to MikeHunter for this post |
|
02-10-2012, 06:32 PM
|
|||
|
|||
|
RE: Help with custom Index.htm
@mstrong: Any progress?
C-200 @50'' Panasonic TH-50PX8EA (BR, 2,5''HDD 500GB, LAN) A-110 @42'' LG LED-TV (3,5''HDD 1TB, LAN) CH3SNAS 1TB+500GB, DNS-323 2x2TB, ACER WHS H-340 1TB !! VOTE FOR !! multiple switchable external subtitles (srt) |
|||
1 user says Thank You to MikeHunter for this post |
|
02-26-2012, 10:10 PM
|
|||
|
|||
| RE: Help with custom Index.htm | |||
|
02-27-2012, 08:55 AM
|
|||
|
|||
|
RE: Help with custom Index.htm
I thought you've already figured it out how to open a folder by a html link (kdoske).
So i thought opening folders wasn't your problem anymore. And if this two folders are on your internal harddisk there should be nothing else to do. But if you have two shares and you want to open the shared folders one after the other - it won't work because the device can only mount one share at a time. If you want the second share to be mounted by the device, you have to browse to it via the internal "browser" (gui) and until you done that - you aren't able to open it via html. So if you want to open two shared folders via html - one way (described by me) is the "pre-mount" via bash script. The device will think that these folders belongs to your internal harddisk an there will be no problem to open the "shared" folder via html afterwards. Please tell me if i get you wrong. C-200 @50'' Panasonic TH-50PX8EA (BR, 2,5''HDD 500GB, LAN) A-110 @42'' LG LED-TV (3,5''HDD 1TB, LAN) CH3SNAS 1TB+500GB, DNS-323 2x2TB, ACER WHS H-340 1TB !! VOTE FOR !! multiple switchable external subtitles (srt) |
|||
1 user says Thank You to MikeHunter for this post |
|
04-15-2012, 05:34 AM
(This post was last modified: 04-18-2012 04:10 AM by mstrong.)
|
|||
|
|||
|
RE: Help with custom Index.htm
I was finally able to give this another try tonight. Sorry I have been away. I have a new born at home and have not had much spare time. Here is where I am.
I am not trying to open two different shares. I am trying to make two buttons in an index.htm file. I will put the index.htm in the root of my share. One button opens the index-YAMJ.htm file in the folder on my share. index-YAMJ.htm was created using YAMJ. The other button opens a folder called staging on my share (these are both on the same share) and allows me to browse all the files in this folder. I have tried Kdoske and can't get anything to work. I always get "request cannot be processed". Here are the details of my share on the PCH C-200. Protocol: SAMBA IP/Host Name: CORUSCANT Share Folder: Movie Library Share Name: Movie Library CORUSCANT User Name: Guest I don't know if this matters but the CORUSCANT server is a Windows Home Server. |
|||
|
04-21-2012, 04:08 AM
(This post was last modified: 04-21-2012 04:33 AM by mstrong.)
|
|||
|
|||
|
RE: Help with custom Index.htm
OK. I think I finally figured this out. One last question I am hoping someone can help me with so I can finish my index.htm file and post it here.
This is how I can link an icon to the preference page on the C-200: "file:///opt/sybhttpd/default/preferences.htm" How do I link to the source screen (the one the system boots to that lets you go from settings, to network, etc? Is there a list of all the system htm files on the C-200 I can look at? OK. I figured it out. Thank you for all the help. I now have an index-YAMJ.htm file that YAMJ creates. I also have an index.htm file (code below). The index.thm file has 4 buttons. One goes to the start up wheel. One goes to my index-YAMJ.htm file. One goes to my stagging folder so that I can browse the contents and test iso's. The last goes to the C-200 preference screen. Code: <html>Here is the code that worked for each of my buttons. To the Start Wheel: href="http://127.0.0.1:8883/start.cgi?list" To the index-YAMJ.htm file: href="http://localhost.drives:8883/NETWORK_SHARE/Movie Library CORUSCANT/index-YAMJ.htm" To the staging folder: href="http://localhost.drives:8883/NETWORK_SHARE/Movie Library CORUSCANT/Staging" To the preferences: href="file:///opt/sybhttpd/default/preferences.htm" |
|||
|
07-02-2012, 02:41 PM
|
|||
|
|||
|
RE: Help with custom Index.htm
This is great thanks MStrong - do you know how to tie remote buttons to these links is it just
<code>tvid="green"</code> And so on? Is there a list of all the remote button call-signs anywhere? Cheers, Nik. ----------------------- PCH A210 Netgear ReadyNAS NV+ 4x1.5TB Raid5 Harman/Kardon Amp InFocus IN76 projector 2.5m Screen |
|||
|
07-05-2012, 11:49 AM
|
|||
|
|||
|
RE: Help with custom Index.htm
I don't have the direct link on me, but there's a list of buttons/tvid's in the wiki.
Pannasonic Plasma 50" -->HK254-->Emotiva xpa-5 & upa-2 A100 w/ 500gb HDD, A200 w/ mn100, c200 w/ 2.5" 250gb Calm 2.1, YAMJ - Redefined 1.8a skin, Music Jukebox 8 WHS ex490 w/ 2.5tb's |
|||
|
« Next Oldest | Next Newest »
|

Twitter
Facebook
NMT Wiki
Search
Member List
Help
A-400 [13 May 2013]

Help with custom Index.htm





![[+]](images/collapse_collapsed.gif)
