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 - Rarst

Pages: 1 2
1
Bug reports / Re: How to deliver an RSS feed
« on: September 14, 2008, 09:42:21 AM »
Validate feed with http://validator.w3.org/feed/ from sources where it works and where it doesn't. May show the problem.

Don't have IE7 installed to test myself.

2
HFS ~ HTTP File Server / Re: Can I?
« on: August 27, 2008, 08:20:01 PM »
I think Apache may be overkill for home user. :)

I hadn't tried it with MySQL but for testing PHP and Perl stuff I use Abyss Web Server.
http://www.aprelium.com/

Free, portable, easy to setup.

3
Everything else / Re: What about Sharing?
« on: August 23, 2008, 04:13:17 PM »
I've been using HFS for some time now, but only recently decided to join the forum, and I've been wondering, if HFS is all about file sharing etc. then were are all the servers?  I use hfs to share files with a circle of friends.  Doesn't anyone post their server address?

Filesharing can be server to client and client to client (with or without help of server to search for other clients).

In this case it's former. Your computer is server, your friends are clients.

4
HTML & templates / Re: Zip Button to pack a Directory for download
« on: August 16, 2008, 09:13:29 AM »
It is already implemented as "folder archive" function. Right-click folder > Archivable.

5
HFS ~ HTTP File Server / Re: Log to db
« on: July 16, 2008, 07:21:16 PM »
Quote
i could add a symbol that will expand to such list, so that you include this symbol in your apache-style log
If you will do this I'd be happy to give it a try.
Rarst
Thanks for your reply.
The problem is with hfs log. Most db prog I've used like M$ Access will link to
external data. Most I'm familar with use pretty much the same criteria to delimit
or seperate the sections for sorting such as "blank space" or various characters
that the developer may choose to use out of necessity. This criteria is then applied
to all data. Is not selectable by block.

Reading by separator only seems to be very limited functionality. I am not experienced in databases but most of programming languages have regular expressions support that allows highly customizable actions with text.

Quote
Addition of a space or character to delimit shouldn't impact those who log hfs by other
criteria like user or date.
Spaces won't work because they are possible in URLs and it is going to ruin reading by separators. Other characters are going to add clutter.

6
HFS ~ HTTP File Server / Re: Log to db
« on: July 16, 2008, 10:49:54 AM »
This would allow linking the log text file to a database for sorting things like most downloaded
file, or anything else needed.
I think it's problem for database, not HFS. What if rejetto adds deliimters and next days someone says that he needs to feed it to different database and they must be removed for that? :)

What db and how are you trying to use exactly? In my opinion regexp solutions from above are pretty fine (except I'd use languages I am more faimiliar with but that's going to be few lines of code anyway).

7
HFS ~ HTTP File Server / Re: hack attempt?
« on: July 05, 2008, 11:05:56 PM »
It indeed looks like hack attempt (imho not targeted, just carpet bombing) by trying to exploit vulnerability that according to quick googling is specific to CMS like Mambo and Joomla.

HFS is most certainly not vulnerable to that. :)

8
This is the external ip adress 99.227.135.43 and the current port is 80.
Works.

9
HFS ~ HTTP File Server / Re: Any need for RSS generator?
« on: July 02, 2008, 05:17:31 PM »
I'll have to specify [include mask, defaults to *.*] include=*.mp3 *.jpeg *.bmp and so on ... in your program.
It doesn't support multiply include masks (and exclude masks) at moment. :( I use it for neatly organized stuff so this wasn't priority. :) btw there is also hardcoded exclusion for *.!ut files (torrent temps).

Oh, just realized that it is possible to simulate multiply include masks by scanning folder few times - few [scanX] sections with same folder and different "include=" shoud work.

May need to implement masks properly, depends on how soon we may get native HFS support for RSS. ;)

10
HFS ~ HTTP File Server / Re: Any need for RSS generator?
« on: July 02, 2008, 05:02:54 PM »
Ok, on public\private. See screenshot for example FS.



Without login to private folder:

http://localhost/~files.lst?recursive
Code: [Select]
http://localhost/public/public.txt

http://localhost/public/private/~files.lst?recursive
Code: [Select]
Unauthorized
This is a protected resource.
Your username/password doesn't match.

With login to private folder:

http://localhost/~files.lst?recursive
Code: [Select]
http://localhost/public/private/private.txt
http://localhost/public/public.txt

http://localhost/public/private/~files.lst?recursive
Code: [Select]
http://localhost/public/private/private.txt

So if folder is private it is not possible to access file list for it without login. Assuming RSS stream gets same behaviour - it would be necessary to include login info into link to get RSS for private folder. And I am not even sure that RSS readers can digest it properly. And it sucks from usability viewpoint. And hidden files are ignored btw.

So in theory RSS stream going to need something like "include hidden files in RSS" and "include restricted files in RSS" options.

11
HFS ~ HTTP File Server / Re: Any need for RSS generator?
« on: July 02, 2008, 03:03:26 PM »
Quote
RSS can be hot linked/embed into video streaming object from an html page ... can this be avoided ?
Lost me, can you please rephrase? Also is it on topic of my program or RSS in general?

Quote
setting the mime type could be a macro.
Anything goes, it's just for better compatibility. Most RSS readers are able to digest RSS feed even without proper mime. Still it's better to follow rules. :)

Quote
timestamps formatting should be already be possible through macros, i'll see.
Main problem is stupid RFC822 uses words for day of week (Mon, Tue, Wed...). If there is a way to do it with macro it's totally beyond my abilities (HFS macro syntax puzzles me to the point of brain damage :( ).

Quote
what you mean by access to private files?
Bit hard to explain, I'll make example with some screenshots later today.

Quote
Looking for something more complicated Rarst ?
Like what? :)

12
HFS ~ HTTP File Server / Re: Any need for RSS generator?
« on: July 01, 2008, 03:18:27 PM »
Forgot one thing, this must be set in HFS:

Menu -> Other options -> MIME types
*.xml application/rss+xml

13
HFS ~ HTTP File Server / Re: Any need for RSS generator?
« on: June 29, 2008, 07:07:57 AM »
Well, since I got PM from a willing test subject person... :)

http://strel28-24.skif.com.ua/folder2rss.zip

.au3files - are source code
.exe - compiled program
.ini - setup stuff (important)

1. Unpack somewhere
2. Read ini-file
3. Make sure you understand what you read (important)
4. Setup ini file the way you need
5. Run exe (make it autorun if you want)
6. Put xml that appeared into HFS

6a. Validate link to your RSS with http://feedvalidator.org/
6b. If something doesn't work repeat 3 or ask me

PS 7 Some feedback... I get nervous when I see download followed by long silence :)
PPS it's not exactly noob friendly at moment... For people who hadn't ever seen contents of ini file http://en.wikipedia.org/wiki/INI_file might be good place to start.

14
HFS ~ HTTP File Server / Re: Any need for RSS generator?
« on: June 28, 2008, 05:48:14 PM »
well, what i want to add to HFS is to be able to serve a folder by using several templates.
because the template system should be enough for RSS generating,
you would just have a template named "rss".

Yep, template system itself is fitting but there are number of features (abovementioned: mime type, RFC822 timestamps, access to private files, etc) lacking for proper RSS implementation at moment.

15
HFS ~ HTTP File Server / Re: Any need for RSS generator?
« on: June 28, 2008, 07:33:48 AM »
i'm a bit late, but you can post your program if you still want to (yes, i read the rest of the topic).

Thousands of potential happy users for my program are even more late as you see... It seems interest for RSS in userbase hovers around 1 person per year. :)

If you are ever converted to RSS fondness and decide to implement it properly I would be happy to cook up list of stuff for to-do. :)

Pages: 1 2