rejetto forum

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - ledufe

Pages: 1 ... 3 4 5 6 7 ... 18
61
HTML & templates / Re: HFS-TEMPLATE-BUILDER
« on: January 23, 2007, 01:03:26 AM »
sorry for the errors and issues on my hfs-server, im away from my home, right now im posting this via vnc from another city, and my pc is a mess, here are the 2 versions that i could develop(develop??? it is almost a joke...it was only a idea, and i couldnt finish it...at least yet...) but when i started it i was doing it with LUA, but i found a little limited, and i started to learn c# that uses the .NET 2.0 from microsoft.

Here Bellow, you can find the autoplay media studio (lua) version.
Splited in 4 parts

and also the c# version (much smaller) and much more usable, but they are only some ideas...

i will take some time to finish it.... but when i got time to spend, and also, every day i become more smart and more pro in c#, but im always busy at my work...
and if anyone else want the sources and the ideas (maps and wanted features list, and also the other tests) please contact me, if i get many requests i will post it here spliting it here...there are so many tests, i could post it on my hfs when i get back to my home....

62
HFS ~ HTTP File Server / Re: Feature Requests
« on: January 11, 2007, 02:30:59 AM »
i agree, some times i just copy and past from hfs to pspad to understand "better" the code, and then past it back on the hfs editor, and my wordwrap is disable too....

64
HFS ~ HTTP File Server / Re: HFS as Windows Service
« on: January 07, 2007, 11:33:22 PM »
im having some bad experience with my server at my home, and due to many travels , im not always there to fix it...
sorry, and about these files, i lost some versions updated when one of my hard disks crashed and i got the sources of this little app , but i got no time now to deal with this project, but i am posting here all the files, infos and sources about this

old post
http://www.rejetto.com/forum/index.php?topic=3755.msg1018414#msg1018414 HFS2Service

i think we should keep such resources on an awalys-on server  :-\
sorry for this rejetto

[attachment deleted by admin]

65
RAWR-Designs / HFS Terayon ... - v1.0
« on: January 02, 2007, 04:39:42 PM »
Very, very good, and yet simple, i like it, and i like the clean view and also the big layout....
very cool

66
HFS ~ HTTP File Server / Re: ~file.lst
« on: December 29, 2006, 04:51:07 PM »
i will do some tests here and get back when i got something concrete, but i guess this must be easy to do...


67
HFS ~ HTTP File Server / Re: External IP Not Working
« on: December 29, 2006, 02:43:17 PM »
so, why don´t you simply add your dns name to your host file?

it works here just fine

i got a no-ip redirect
inside my host file i added a line to it like this one bellow the localhost line:

Code: [Select]
127.0.0.1       localhost
127.0.0.1 ledufe.no-ip.info

and now, instead i use the http://localhost:port or http://192.168.1.2:port
i type http://ledufe.no-ip.info:port

by the way, this file has no extension, it is simply named hosts
and it normally is at this folder:

inside your windows directory (XP, 2000, 2003, vista, and NT)
\system32\drivers\etc\hosts

68
HFS ~ HTTP File Server / Re: ~file.lst
« on: December 29, 2006, 02:36:06 PM »
...but need a "start" and "finish" point to tell the external where to search between.

I've read about the filelist.tpl, but don't know what commands to insert to replicate as follows, I only want this on one specific real folder so updated in real-time, so am assuming I insert as diferent template on that folder.

just create a filelist.tpl with the notepad or any text editor and put this inside

Code: [Select]
%files%

[files]
Start
%list%
Stop

[file]
http://%host%%encoded-folder%%item-url%

69
RAWR-Designs / Re: Testing Thunderchicken_of_Glory
« on: December 25, 2006, 10:00:16 AM »
Well
I will send 3 .tpl in ita I think have putted your MP3 section right.

002..... is with Ledufe's MP3 section

With 002 don't work also in local  :'(

your code on [file.mp3] section
Code: [Select]
[file.mp3]
<tr>
<td>
%new%
<a href="%item-url%">
<img src="/~img_file" />
 %item-name%
</a>
%comment%
<td align=right>
%item-size%
<td align=right>
%item-modified%
<td align=right>
%item-dl-count%
<td align=right>
    <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="300" height="20" id="mp3player"
          codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" >
          <param name="movie" value="http://%host%/mp3player.swf" />
          <param name="flashvars" value="config=http://www.server.com/config.xml&file=http://www.server.com/playlist.xml" />
          <embed src="http://%host%/mp3player.swf" width="300" height="20" name="mp3player"
    flashvars="file=%item-url%"
    type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>
</td>
</tr>

this one works on my [file.mp3]
Code: [Select]
[file.mp3]
<tr>
<td>
%new%
<a href="%item-url%">
<img src="/~img_file" />
 %item-name%
</a>
%comment%
<td align=right>
%item-size%
<td align=right>
%item-modified%
<td align=right>
%item-dl-count%
<td align=right>
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="300" height="20" id="mp3player"
    codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" >
  <param name="movie" value="http://%host%/mp3player.swf" />
<param name="flashvars" value="config=http://www.server.com/config.xml&file=http://www.server.com/playlist.xml" />
  <embed src="http://%host%/mp3player.swf" width="300" height="20" name="mp3player"
    flashvars="file=%item-url%"
    type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>

if you look both codes looks the same, but i thinked in one thing, are your hfs encoding non-ASCII characters?
try disabling and enabling it, cause the generated html may be with
"&amp;" instead "&"...

May be my PC is too poor in resources (CPU, RAM, etc.) ?
from adobe/macromedia page
http://www.adobe.com/products/flashplayer/productinfo/systemreqs/

Quote
Windows     
Intel® Pentium® II 450MHz or faster processor (or equivalent)
128MB of RAM

Other thing is that mp3 player hide friends when mouse is over their links (address are behind player)
i don´t know this one, may be the css....

70
it would solve one issue with many flash files and other things like rss feeds if we could get this
read and see if i am making myself understood....
sorry again my poor english

ledufe, thanks for that fantastic addon!
i did not make it, i just figure out how to use it with the hfs
also i got another cool test that may fit in your needs

I have one more question. Is there a way to make it to relay an internet radio stream? I mean this: I upload an .m3u file somewhere on the server and that .m3u is the one of the chosen radiostation. And is there a way to make it play?
it is not a m3u, but it is a cool combination of hfs+xml+flash
and now it plays not only mp3 or flv videos, but MP3/FLV/JPG/SWF/PNG/GIF
here the official website of the player
http://www.jeroenwijering.com/?item=Flash_Media_Player
and here is my test as much explayned as i can

first
i make it as this, on my root folder of my hfs i create a file called "filelist.tpl" and inside this file:
Code: [Select]
%files%

[files]
<playlist version="1" xmlns="http://xspf.org/ns/0/">
<trackList>
%list%
</trackList>
</playlist>

[file]
<track>
<title>%item-name%</title>
<creator>HttpFileServer %version%</creator>
<location>http://%host%%encoded-folder%%item-url%</location>
</track>

and again on the root folder of my hfs i put the file mediaplayer.swf

and also i inserted this code on the hfs template to call the swf and passing the argumment to load the playlist in xml
i putted it on the first section, but it could be inserted in a pop-up window to make it more attractive and minus invasive...

Code: [Select]
<embed src="/mediaplayer.swf" width="320" height="240" bgcolor="#FFFFFF"
type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"
flashvars="file=%encoded-folder%~files.lst.xml&showdigits=true&autostart=false" />

and the playlist that is loaded is a xml file that is auto generated by the hfs if the file list.tpl is as as the one above...

but i must say this is only one of the many ways to use the hfs and some flash player using the filelist.tpl
and this technic only will work for especific folder with that type of files, at least until the

but if there is another file type on the folder it hangs, but is a new way to get a media player without javascript...

the filelist.tpl would be like this, to only be applyed to the right kind of files:
Code: [Select]
%files%

[files]
<playlist version="1" xmlns="http://xspf.org/ns/0/">
<trackList>
%list%
</trackList>
</playlist>

[file.mp3]
<track>
<title>%item-name%</title>
<creator>HttpFileServer %version%</creator>
<location>http://%host%%encoded-folder%%item-url%</location>
</track>

[file.flv]
<track>
<title>%item-name%</title>
<creator>HttpFileServer %version%</creator>
<location>http://%host%%encoded-folder%%item-url%</location>
</track>

[file.jpg]
<track>
<title>%item-name%</title>
<creator>HttpFileServer %version%</creator>
<location>http://%host%%encoded-folder%%item-url%</location>
</track>

[file.swf]
<track>
<title>%item-name%</title>
<creator>HttpFileServer %version%</creator>
<location>http://%host%%encoded-folder%%item-url%</location>
</track>

[file.png]
<track>
<title>%item-name%</title>
<creator>HttpFileServer %version%</creator>
<location>http://%host%%encoded-folder%%item-url%</location>
</track>

[file.gif]
<track>
<title>%item-name%</title>
<creator>HttpFileServer %version%</creator>
<location>http://%host%%encoded-folder%%item-url%</location>
</track>

[attachment deleted by admin]

71
HFS ~ HTTP File Server / Re: How many users?
« on: December 25, 2006, 06:10:46 AM »
very cool idea....

like the google analitycs does....

72
RAWR-Designs / Re: Testing Thunderchicken_of_Glory
« on: December 25, 2006, 05:49:38 AM »
let me try to help, the code i used here, and this one works for me...

i created a section file.mp3 like this bellow:
Code: [Select]
[file.mp3]
<tr>
<td>
%new%
<a href="%item-url%">
<img src="/~img_file" />
 %item-name%
</a>
%comment%
<td align=right>
%item-size%
<td align=right>
%item-modified%
<td align=right>
%item-dl-count%
<td align=right>
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="300" height="20" id="mp3player"
    codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" >
  <param name="movie" value="http://%host%/mp3player.swf" />
<param name="flashvars" value="config=http://www.server.com/config.xml&file=http://www.server.com/playlist.xml" />
  <embed src="http://%host%/mp3player.swf" width="300" height="20" name="mp3player"
    flashvars="file=%item-url%"
    type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>

my hfs root folder is like this here


[attachment deleted by admin]

73
HFS ~ HTTP File Server / Re: Adding images to web pages
« on: December 24, 2006, 08:15:20 PM »
try this and you will understand how to do it
as you said before:

-make a image folder ( img or image, or anything else)
-put images inside it

and to put this image on the page generated by the hfs do this:
browse your own hfs
http://localhost:port
browse to your image folder
you will get a url like this one
http://localhost:port/SOME-FOLDER/
and now do right-click on the image file you want to show
copy its url on firefox it is named "copy link" and on the internet explorer "copy shortcut"
and inside the template editor of the hfs past this code
<img src="XXXXXX" />
if you copyed a link like this
http://localhost:2222/image.jpg
just past it on the img tag <img src="XXXXXX" /> replacing the X with your url, but without the root address of your server( http://localhost:2222 ) , and it will be like this:
<img src="/image.jpg" />


74
HFS ~ HTTP File Server / Re: NewSoftware HFS2Service
« on: December 15, 2006, 11:42:16 PM »
many thanks

75
HTML & templates / Workonly on IE: Windows Live Messenger Protocol Handler
« on: December 15, 2006, 01:16:47 AM »
What is a Windows Live Messenger Protocol Handler?
What is a Protocol Handler.
Windows Live Messenger includes the ability to use protocol handler's that interact with the Windows Live Messenger Client. In the world of Internet Explorer and other browsers, it is the definition of a set of text followed by a colon which launches a defined program that takes in a parameter which is consumed by the called program.
 
The table below describes the available Protocol Handlers that interact with the Windows Live Messenger Client.
 
Command               Messenger Action                                                Example
"Add":                  Adds a contact to the buddy list.                      msnim:add?contact=nada@nowhere.com
"Chat":                 Start a conversation with a contact.                  msnim:chat?contact=nada@nowhere.com
"Voice":                Start a voice conversation with a contact.          msnim:voice?contact=nada@nowhere.com
“Video”                 Start a video conversation with a contact.         msnim:video?contact=nada@nowhere.com
 
Example:
The classic example of a protocol handler is the "mailto:" protocol handler.  This text when in a HTML page creates a link that when clicked launches the default mail client on the machine.  Any text after the protocol handler's colon is passed into the receiving mail client. For example, the following protocol handler starts up a mail client with a blank message to the user nada@nowhere.com:

     mailto:nada@nowhere.com

Pages: 1 ... 3 4 5 6 7 ... 18