World: r3wp
[Web] Everything web development related
older newer | first last |
Gregg 20-Apr-2008 [1478] | It's up on REBOL.org, and I sent it to Doug Crockford as well. |
Will 22-Apr-2008 [1479] | Thank you Gregg 8) |
Gregg 22-Apr-2008 [1480] | I got a note from Doug that he's confident comments won't be coming back, so I'm going to do another update for that. |
Geomol 29-Apr-2008 [1481] | Info from danish news on tv: Women use 29 hours on the internet per week. Men use 27 hours on the internet per week. People older than 61 years use more time on the internet than people between 20 and 60 years old. |
btiffin 29-Apr-2008 [1482] | Re age differences; Typing speed? More detail oriented than the flash me this tlash me that generation? Umm, retired with more free time? But an interesting stat. I wonder if they thought about adding a developer category ... 29 hours a day. Reichart alone would probably skew the statistics. :) |
[unknown: 5] 29-Apr-2008 [1483x2] | Is evolution a religion http://www.icr.org/article/455/ |
sorry wrong group | |
BrianH 29-Apr-2008 [1485] | Answer: No. Now you don't have tgo bring it up in the other group. |
Robert 2-May-2008 [1486] | What do I need to read from a given URL (assume web-page) to find out when the page was modified? Is there a way? |
Henrik 2-May-2008 [1487] | Geomol, I wonder if it has something to do with the skill with using the computer, how fast something can be looked up, et.c |
Dockimbel 2-May-2008 [1488x2] | >> page: open http://rebol.com >> page/locals/headers/Last-Modified == "Wed, 30/Apr/2008/01:08:00/+GMT" |
>> load skip page/locals/headers/Last-Modified 5 == 30-Apr-2008/1:08 | |
Robert 2-May-2008 [1490] | Doc, thanks. Never heard about this... |
Dockimbel 2-May-2008 [1491x2] | There's a mezz wrapper for that : |
>> modified? http://rebol.com connecting to: rebol.com == 30-Apr-2008/1:08 | |
Robert 2-May-2008 [1493x2] | Cool! I could have assumed this... |
Does anybody know how I can access the currently displayed URL in a web-browser from an external application? I just want to get back the URL of the "current" shown web-page in an active window. | |
Henrik 2-May-2008 [1495] | That might be hard as it would depend on the browser. |
Robert 2-May-2008 [1496] | Yes, I know. So any help/idea will help. |
Henrik 2-May-2008 [1497] | is it Windows only? |
Robert 2-May-2008 [1498] | At the moment yes. |
Gregg 2-May-2008 [1499] | You might have to do some window spying to see what classes things are, then enum top windows to find the browser, then enum its child windows and do getwindowtext. |
Robert 2-May-2008 [1500] | Hmm... sounds like a lot of work but OK I will see how I come along. |
[unknown: 5] 2-May-2008 [1501] | Would be nice to do something like this flash app with REBOL http://www.livefaceonweb.com/ |
Brock 2-May-2008 [1502x2] | Robert, are the pages you are accessing static, dynamic or a combination of the two? |
I don't think the method Doc provided will work for dynamically generated pages. For dynamic content you will need to use something like checksum http://www.rebol.com However, you will need to maintain a list of the last time a page was checked. | |
Will 2-May-2008 [1504x3] | Robert, on os x you can do it easly with AppleScript (use ScriptEditor): |
tell application "Safari" set theURL to URL of the document of front window end tell | |
here is a more complete example that will save url of all browser windows to a file: http://daringfireball.net/2003/02/save_and_restore_safari_urls | |
Robert 3-May-2008 [1507x2] | Brock, yes dynamic content is hard to track and it depends if it makes sense to track. |
Will, cool. Thanks. Can such a script be started from Rebol? | |
PeterWood 3-May-2008 [1509] | Robert: You can run any AppleScript from the command line: osacript script_name |
Will 3-May-2008 [1510] | this is part of a script I use to monitor and restart my vpn and ssh tunnel : connect: does [ call rejoin [{osascript -e "tell application \"System Events\" tell current location of network preferences set vpn to current configuration of service \"VPN\" if not connected of vpn then tell application \"AlmostVPNProMenuBar\" stop (profile named \"default\") end tell connect vpn delay 6 tell application \"AlmostVPNProMenuBar\" start (profile named \"default\") end tell else tell application \"AlmostVPNProMenuBar\" stop (profile named \"default\") end tell disconnect vpn delay 6 connect vpn delay 6 tell application \"AlmostVPNProMenuBar\" start (profile named \"default\") end tell end if end tell end tell"}] ] |
PeterWood 3-May-2008 [1511x3] | >> stringURL: copy "" == "" >> call/output "osascript getURL.as" stringURL == 0 >> theURL: to url! stringURL == http://news.bbc.co.uk/sport1/shared/fds/hi/statistics/cricket/scorecards/2008/4/14422/html/scorecard.stm%0A >> theURL == http://news.bbc.co.uk/sport1/shared/fds/hi/statistics/cricket/scorecards/2008/4/14422/html/scorecard.stm%0A |
>> stringURL: copy "" == "" >> call/output "osascript getURL.as" stringURL == 0 >> theURL: to url! stringURL ==http://news.bbc.co.uk/sport1/shared/fds/hi/statistics/cricket/scorecards/2008/4/14422/html/scorecard.stm%0A >> theURL ==http://news.bbc.co.uk/sport1/shared/fds/hi/statistics/cricket/scorecards/2008/4/14422/html/scorecard.stm%0A | |
Doesn't work with Firefox though | |
Will 26-May-2008 [1514] | http://blog.thejit.org/javascript-information-visualization-toolkit-jit/ |
Pekr 27-May-2008 [1515] | My friend who is building some basic websites was asked by his client for the search facility. So far he used Google and its: site:your-domain.com feature, but the client would like the output to be customised. So here goes the questions: - does google licence allow customising such output? E.g. wrapping it in another color, etc., so that it would look like the rest of the client site? - is it easily technically possible, to parse the result? I mean - I can imagine parsing the output, even page paginator, then generating custom output. But maybe there is some other solution for that? Maybe some google api? |
Chris 27-May-2008 [1516x2] | I think you are looking for the API. |
For customisation, Yahoo have better Apis. | |
Sunanda 27-May-2008 [1518] | There was a Google search API (using SOAP), but they withdrew it. This page may lead to alternatives: http://code.google.com/apis/gdata/clientlibs.html |
Chris 27-May-2008 [1519] | Their replacement appears to be an Ajax widget. I'm not sure how well that would integrate... |
Pekr 27-May-2008 [1520] | I think I will try CGI and parse ... hopefully I will not break some license, albeit I fear that I will be :-) |
Chris 28-May-2008 [1521] | http://code.google.com/apis/ajaxlibs/-- Google host Javascript libraries. |
Robert 6-Aug-2008 [1522x2] | I'm searching for a good free log-file analyzer (whatever that means ;-)). Any hints? I know: - Analog - Webializer But both are not that good IMO. |
Oh, and it should run on the web-server. | |
Will 6-Aug-2008 [1524] | this one is pretty complete, not free but you can get a new trial key every 30 days http://summary.net/ |
yeksoon 7-Aug-2008 [1525] | Rober, what kind of logs are u looking at? if it is for web traffic stuffs, have you look at Google Analytics? If it is not, just ignore my comments. |
Tomc 7-Aug-2008 [1526x2] | Hi Robert I switched from analog to awstats about 4 years ago and am still with it. |
but it also has it's shortfalls. one of my coworkers was experimenting with a timing plugin this spring | |
older newer | first last |