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
Bug reports / Re: How to deliver an RSS feed
« on: September 14, 2008, 09:42:21 AM »
Validate feed with from sources where it works and where it doesn't. May show the problem.

Don't have IE7 installed to test myself.

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.

Free, portable, easy to setup.

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.

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.

HFS ~ HTTP File Server / Re: Log to db
« on: July 16, 2008, 07:21:16 PM »
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.
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.

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.

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).

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. :)

This is the external ip adress and the current port is 80.

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. ;)

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:

Code: [Select]

Code: [Select]
This is a protected resource.
Your username/password doesn't match.

With login to private folder:

Code: [Select]

Code: [Select]

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.

HFS ~ HTTP File Server / Re: Any need for RSS generator?
« on: July 02, 2008, 03:03:26 PM »
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?

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. :)

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 :( ).

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

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

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

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... :)

.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
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 might be good place to start.

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.

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