r3wp [groups: 83 posts: 189283]
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

World: r3wp

[Web] Everything web development related

Gabriele
11-Oct-2005
[913x2]
I want to do a PDF emitter for MD2... i've just been too busy lately. 
hope to get back to this soon.
won't be very good but better than nothing.
Volker
12-Oct-2005
[915]
Would you have enough time to answer a lot silly questions? I forgot 
the whole api and everything, but could do the coding.
Robert
2-Nov-2005
[916x2]
Question: Has anybody written a log-file analyzer tool in Rebol? 
I really must say, that I have looked into a lot of those tools but 
never found a good one. All spit out some information but not the 
one I'm mostly interested in. And I just get reports but can't do 
any trend analyzes etc.
IMO it would be cool thing to provide an analyzing dialect to write 
own reports.
Pekr
2-Nov-2005
[918]
what log?
Robert
2-Nov-2005
[919]
simple apache access log
Henrik
2-Nov-2005
[920]
don't think that would be hard to do...
Pekr
2-Nov-2005
[921]
another question, although not web related, but log related - did 
anyone do snmp parser, mrtg kind of graph display?
JaimeVargas
2-Nov-2005
[922]
Yes. We have one for our own use. But not snmp implementatin. However 
the french have something for that.
Pekr
2-Nov-2005
[923x2]
ok, thanks for the pointer ... two weeks before we go into our first 
providing Billingo.com is closing, damned. And we already told customers 
they will have portal, where they can log, and see the statistics 
of their per day/month usage :-)
I already thought about some small app in View, encapped. But it 
would have to have auto-updating framework, which I don't have yet. 
It seems to me, that if I will have to manage our router traffic 
log, then doing things in View is MUCH easier (with AGG for e.g.) 
then to think of portal based solution, logging of users etc ....
JaimeVargas
2-Nov-2005
[925]
You need our equipment ;-)
Pekr
2-Nov-2005
[926x4]
but I will do math only on central router, not wi-fi aps ....
folks did very nice system called billingo - you could rent it for 
very few bucks even for cz folks to afford, you defined your price-list, 
data-limits etc. logic and then even your secretary could add new 
person to the network ;-) Such person had portal sub-page available 
to log into, to see its traffic, graphs etc. It did also invoices 
for you. Very nice. Today they announced they are closing, because 
of low demand for such service. But it was excellent service, which 
would save me plenty of time ....
now how I am supposed to prove our new customers how much data they 
downloaded and when and show them logs :-)
I have to think about it for a while .....
JaimeVargas
2-Nov-2005
[930]
MRTG. Don't reinvent the wheel.
Pekr
2-Nov-2005
[931x4]
I will have to find a way of how to study it - it is very late here 
and I just looked into archive size - 1.6 MB  archive - oh my ... 
so - if there is no simple way of how to wrap it, I will go my own 
way, as usual, even with limited featureset - I don't need fancy 
javascript/java/whatever graphing - if I go View way, I will have 
to develop AGG based graphing anyway ...
If it is dependant upon perl etc. myriad of install steps, forget 
it ...
the only way I will accept it is - 1) someone introduces me quickly 
into how to use it, wrap it 2) it comes preinstalled on linux similar 
way, of how I can use webmail for e.g. I will not go thru all this 
- http://www.mrtg.cz/mrtg-nw-guide.html
Advantage of mikrotik is, that I don't have necessarily to depend 
upon snmp - It has good router scripting, and I can prepare my own 
format (even rebol blocks ;-) of output ... and some folks do so 
with the router scripting language available ....
Pekr
3-Nov-2005
[935x2]
hmm, will have to study a mrtg a bit ... not sure how fast I would 
get to at least few percent functionality .... look at Cacti for 
e.g. http://www.cacti.net
based on rrdtool - that is the next pointer of where I could start 
to look ...
JaimeVargas
3-Nov-2005
[937]
rrdtool is pretty easy to use. But some people say MRTG is easier. 
I prefer rrdtool.
Micha
19-Nov-2005
[938]
I have account cpanel in  www.qwerty.vaio-hosting.com
how to instal rebol ?
Volker
19-Nov-2005
[939x3]
;copy exe somewhere, make it executable, write a cgi:
#!/where/is/rebol -cs
rebol[]
print "content-type: text/plain^/^/"
print "Hello cgi"
typicla problems: line-endings with windows->linux. upload as acsii. 
forgetting to make something executable, both exe and cgi must be. 
(its linux/apache)
(if it is linux/apache)
Micha
19-Nov-2005
[942]
you can me install ?
Volker
19-Nov-2005
[943]
with password i guess yes
Micha
19-Nov-2005
[944]
I sended you on pw
Volker
25-Nov-2005
[945]
How can i get rid of the border around a link-image? http://polly.rebol.it/test/test/index.html
Rebolek
25-Nov-2005
[946]
border="0"
Volker
25-Nov-2005
[947]
thanks
Micha
30-Nov-2005
[948]
how to install rebol view  in cpanel ?
Pekr
3-Dec-2005
[949]
what tag do you use for templates? Is it comment tag? I can see e.g. 
<!--[snih_tabulka_zacatek]--> and some other <% ......> I would like 
to know (dis)advantages of both. Thanks a lot
Izkata
4-Dec-2005
[950]
I used to know how to do this... but can't remember it anymore - 
how do I perform a POST to a webpage?

Wasn't it something like    read/custom http://www.Whatever.com
 [Post {This=That}]
Graham
4-Dec-2005
[951]
looks correct
Izkata
4-Dec-2005
[952x3]
Hmm.. for <form name="def" id="def" action=planet.cgi?1213&adr method=POST 
autocomplete=off>, the server doesn't seem to like   read/custom 
http://www.territories3069.com/3.x/planet.cgi?1213&adr[POST {ddr=1212}]

It gives a 405 error (Method not allowed)
All the arguments are there (I checked with a reb-proxy, the page 
itself is very ugly)
I tried making a low-level version (with TCP), but the data it wants 
is inside Port/state/inBuffer, when sent in the browser.. and simply 
setting it in the Port doesn't seem to work
Tomc
4-Dec-2005
[955]
I think I make post a string or literal     i.e   [ 'POST
Izkata
4-Dec-2005
[956x5]
Wierd - Literal seems to work
Well, it didn't error...
... but it doesn't seem to have worked correctly here.  But it's 
a step in the right direction, at least
It worked!
Not sure which permutation of the code did it, but it did work... 
 Thanks!
Graham
4-Dec-2005
[961]
since it's a dialect it should be [ post ... ]

but if you need to evaluate the contents of the block, it should 
be 

reduce [ 'post post-contents ]
Sunanda
2-Feb-2006
[962]
Good news / bad news

The good news is that MS are beta-ing Internet Explorer 7, so it's 
a good chance to see how well your website may look in that browser 
(like it or not it is liekly to become a dominent browser)
http://www.microsoft.com/windows/ie/ie7/default.mspx


The bad news is  two-fold: they have fixed most of the well-known 
CSS hacks; if you use the hacks your site may not render properly 
in IE7.  Second, it is not easy to install IE7 alongside any existing 
IE version -- it's a reversible upgrade (in theory), so you might 
want to try it on a spare partition/machine.

Windows only at this stage, of course.