Aliasing sites

Micha <[email protected]>
Newsgroups gmane.network.wwwoffle.user
Message-ID <20050411142825.42635176@woody>

An update...

If i call http://wiki.ffii.org/index.cgi?action=plugin&plugin_name=SiteMap
then wwwoffle will replace 'wiki' by 'kwiki' correctly. But all the sitemap links are still poining to 'wiki.ffii.org', so i cannot see by modified color if a special one is cached or not. I liked this feature, however,  because this way i can get a rough overwiew of my activities and interests so far, and i'm often searching for links i can't actually remember this way. Somhow like the browser history, but for my purpose better suited. 
So, could wwwoffle or a kind of script plugin, transform links to aliased domains, while offline, somehow ? Shouldn't aliasing take effect on the modify-link-color for cached pages, as well ?

(More generally how about piping the 'modify html' feature through a custom plugin, the way some log collectors (eg xlogmaster) or or email clients (like sylpheed) do ? Create an interface and leave the work to users :) Basically the same idea behind mozilla/galeon javascript-bookmarklets.)


> > I note there's the 'Alias' section, so my question is, can i make it
> > 
> > http://wiki.ffii.org/ = http://kwiki.ffii.org/
> > http://kwiki.ffii.org/? = http://kwiki.ffii.org/
> > http://kwiki.ffii.org/index.cgi? = http://kwiki.ffii.org/
> > 
> > and go on happily ? I did set it right now, but i'd appreciate some
> > hints before going to discover in a month or so that i did it all
> > wrong. 
> 
> The first one of these will work, but the others won't.  The Alias
> section matching is not done on a substring of the whole URL, but is
> done on the protocol, hostname and path only.  It is intended to allow
> replacement of a directory tree on one host with a directory tree on
> another (or the same) host.
> 
> > Are the entries order sensitive, in this case ?
> 
> The entries are always order sensitive.  Only one entry of the same
> type can ever match and it is always the first.
> 
> > A related question is, can i consolidate (merge) the content of the
> > different http subtrees (with a little shell command or script)
> > easily, once the alias setting works ?
> 
> You can use the wwwoffle-mv command in the same way as the Alias
> section.  But unfortunately for you it works exactly the same way as
> the Alias section so you won't be able to do what you want with it.



  °
 /\/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.