PGweb code

Discuss Prevue simulation here.
tin
Posts: 567
Joined: Sat May 08, 2010 9:54 pm

PGweb code

Post by tin »

Someone asked me to provide the supporting code to PGweb (my HTML5 simulator linked below) so I have created the below archive with (hopefully) everything you might need in it.

It would be cool if anyone out there is interested in developing the code. Unfortunately I'm unlikely to have the time in the near future, but as always I'm keeping an eye on this forum :)

<edit> due to restrictions on the board, I uploaded the media folders separately!
Attachments
media-video.rar
(5.7 MiB) Downloaded 770 times
media-sound.rar
(4.12 MiB) Downloaded 807 times
media-image.rar
(491.29 KiB) Downloaded 769 times
pgweb files.rar
(45.68 KiB) Downloaded 758 times
iphageenia
Posts: 1
Joined: Sun Aug 21, 2011 12:03 pm

Re: PGweb code

Post by iphageenia »

thanks tin!
PajamaDarkness
Posts: 127
Joined: Sat Oct 24, 2015 12:24 pm
Location: Will I ever tell you? No.

Re: PGweb code

Post by PajamaDarkness »

How do I make this work?

All I see is this:

Image
PajamaFrix
Prevuing since 2015.
tin
Posts: 567
Joined: Sat May 08, 2010 9:54 pm

Re: PGweb code

Post by tin »

Firstly you will definitely need the prevue guide font, and also to put the media in the right place.

There's a lot of server side code that generates the config files but you don't *need* that just yet if you're just trying it.

Also, as you can see it was written a long time ago. No idea if it still works with modern browsers but if I get a few mins I will give it a try!
tin
Posts: 567
Joined: Sat May 08, 2010 9:54 pm

Re: PGweb code

Post by tin »

Whoops. I missed the css out of the archive :( nobody noticed until now!
tin
Posts: 567
Joined: Sat May 08, 2010 9:54 pm

Re: PGweb code

Post by tin »

Stick this .css file also in the root html directory (e.g. /htdocs/pgweb/ or whatever).

Works better, still havent figured out the font problem.
Attachments
Prevuetest2.rar
(427 Bytes) Downloaded 458 times
PajamaDarkness
Posts: 127
Joined: Sat Oct 24, 2015 12:24 pm
Location: Will I ever tell you? No.

Re: PGweb code

Post by PajamaDarkness »

tin wrote:Stick this .css file also in the root html directory (e.g. /htdocs/pgweb/ or whatever).

Works better, still havent figured out the font problem.

Still don't know where I can put the other files (image, video, sound)
PajamaFrix
Prevuing since 2015.
tin
Posts: 567
Joined: Sat May 08, 2010 9:54 pm

Re: PGweb code

Post by tin »

There is a bit of explanation in the text file that comes with the main pgweb files.

I just restored the archives (+ the .css) to a vanilla apache install and got this....
Attachments
pgweb dir layout.PNG
pgweb dir layout.PNG (4.74 KiB) Viewed 14254 times
PajamaDarkness
Posts: 127
Joined: Sat Oct 24, 2015 12:24 pm
Location: Will I ever tell you? No.

Re: PGweb code

Post by PajamaDarkness »

worked somewhat, but still font error.

plus how do I get the curday working?
PajamaFrix
Prevuing since 2015.
tin
Posts: 567
Joined: Sat May 08, 2010 9:54 pm

Re: PGweb code

Post by tin »

Sorry man I only just noticed your question. If you're still looking, there's instructions on what the format is for CURDAY in the NOTES.txt included with the archives, it's a simple text file.
Post Reply