9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] abaco and google links
@ 2013-11-08 20:34 Steve Simon
  2013-11-08 21:56 ` cinap_lenrek
  0 siblings, 1 reply; 8+ messages in thread
From: Steve Simon @ 2013-11-08 20:34 UTC (permalink / raw)
  To: 9fans

Abaco can nolonger follow googles links as they now redirect through
googles own servers so they can "help" you.

anyone fixed abaco to follow such links?

-Steve



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [9fans] abaco and google links
  2013-11-08 21:56 ` cinap_lenrek
@ 2013-11-08 21:20   ` Steve Simon
  2013-11-08 21:23     ` erik quanstrom
  2013-11-08 21:26     ` erik quanstrom
  0 siblings, 2 replies; 8+ messages in thread
From: Steve Simon @ 2013-11-08 21:20 UTC (permalink / raw)
  To: 9fans

> works just fine on 9front

I sould have guessed :-)

I will look at the diffs.

-Steve



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [9fans] abaco and google links
  2013-11-08 21:20   ` Steve Simon
@ 2013-11-08 21:23     ` erik quanstrom
  2013-11-08 21:26     ` erik quanstrom
  1 sibling, 0 replies; 8+ messages in thread
From: erik quanstrom @ 2013-11-08 21:23 UTC (permalink / raw)
  To: steve, 9fans

On Fri Nov  8 16:21:55 EST 2013, steve@quintile.net wrote:
> > works just fine on 9front
>
> I sould have guessed :-)
>
> I will look at the diffs.

also works in 9atom.

- erik



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [9fans] abaco and google links
  2013-11-08 21:20   ` Steve Simon
  2013-11-08 21:23     ` erik quanstrom
@ 2013-11-08 21:26     ` erik quanstrom
  1 sibling, 0 replies; 8+ messages in thread
From: erik quanstrom @ 2013-11-08 21:26 UTC (permalink / raw)
  To: 9fans

iirc, the issue is very minor—a problem interpreting urls by webfs.

- erik



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [9fans] abaco and google links
  2013-11-08 20:34 [9fans] abaco and google links Steve Simon
@ 2013-11-08 21:56 ` cinap_lenrek
  2013-11-08 21:20   ` Steve Simon
  0 siblings, 1 reply; 8+ messages in thread
From: cinap_lenrek @ 2013-11-08 21:56 UTC (permalink / raw)
  To: 9fans

works just fine on 9front

clicking:

http://www.google.de/url?q=http://de.wikipedia.org/wiki/Plan_9_(Betriebssystem)&sa=U&ei=7k99UtrDBceItQaenoDgBA&ved=0CCgQFjAB&sig2=qgPElOPSaFdndrFNpQgT-g&usg=AFQjCNHQJbuSIfAqYc3tErY7YT2PnH-qzw

gets me to:

http://de.wikipedia.org/wiki/Plan_9_(Betriebssystem)

--
cinap



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [9fans] abaco and google links
  2013-11-14 15:39 ` erik quanstrom
@ 2013-11-14 17:51   ` hiro
  0 siblings, 0 replies; 8+ messages in thread
From: hiro @ 2013-11-14 17:51 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

somewhat related:

s./url?q=..g
and while we're at it
	/<div id="tads"/,/^<\/div>/d;
	/<script type/,/<\/script>/d;
	/<div id="gbar">/,/<div class="gbh" style="right:0">/d;
	/<td class="sfbgg" valign="top">/,/<\/td>/d;
	s/<div class="lsbb"><button/<div class="lsbb"><input/;
	/<div id="rhs_block"/,/^<\/div>/d;
	/<h1><a href="\/webhp?hl=en"/d;
	/<div class="flc"/,$d;
	/^<h3 class="r"><a href="\/images?q=/,/<li class="g">/d'

Still experimenting what's the best place to put such code. I'm
definitely not going to use java scripts in the browser for this, so
right now I have my own /search script on my home server that wgets
from google and eventually runs this fix on the output.
Oh, don't forget to format nicely (I'm using tidy on linux for
html-tidying, there might also be utf-8 issues, so ie=utf8&oe=utf8 in
the http query to google might help)

I'm not presenting a finished product, because I'm on linux and my
script sucks. I didn't yet manage to make a better, reusable
"framework" for this. Although I've been playing with the thought of
using a trusted, SSL-capable http proxy for the purpose. But the SSL
part of it made me stale in disgust.



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [9fans] abaco and google links
  2013-11-14  9:04 Jonas
@ 2013-11-14 15:39 ` erik quanstrom
  2013-11-14 17:51   ` hiro
  0 siblings, 1 reply; 8+ messages in thread
From: erik quanstrom @ 2013-11-14 15:39 UTC (permalink / raw)
  To: puta2001-goo, 9fans

On Thu Nov 14 04:06:16 EST 2013, puta2001-goo@yahoo.com wrote:

> for my native plan9 (on ibm t42) abaco's google links are without one
> "/", so i have add one manualy in address bar.  (google link shows for
> example http://www.google.com/url?q=http:/9fans.net/archive/..)

the problem is urlcombine and urlcannon.
try the versions in /n/atom/plan9/sys/src/cmd/abaco/urls.c

- erik



^ permalink raw reply	[flat|nested] 8+ messages in thread

* [9fans]  abaco and google links
@ 2013-11-14  9:04 Jonas
  2013-11-14 15:39 ` erik quanstrom
  0 siblings, 1 reply; 8+ messages in thread
From: Jonas @ 2013-11-14  9:04 UTC (permalink / raw)
  To: 9fans

[-- Attachment #1: Type: text/plain, Size: 205 bytes --]

for my native plan9 (on ibm t42) abaco's google links are without one "/", so i have add one manualy in address bar. (google link shows for example http://www.google.com/url?q=http:/9fans.net/archive/..)

[-- Attachment #2: Type: text/html, Size: 580 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2013-11-14 17:51 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-11-08 20:34 [9fans] abaco and google links Steve Simon
2013-11-08 21:56 ` cinap_lenrek
2013-11-08 21:20   ` Steve Simon
2013-11-08 21:23     ` erik quanstrom
2013-11-08 21:26     ` erik quanstrom
2013-11-14  9:04 Jonas
2013-11-14 15:39 ` erik quanstrom
2013-11-14 17:51   ` hiro

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).