Re: [freenet-support] doctype and other html tags through fproxy

2004-03-17 Thread Mika Hirvonen
Paul Derbyshire wrote:

Other http:// URLs are automatically converted by fproxy to point to a 
warning page, so inline images are not displayed.
   

So freesites can't have images? Or can, if the image URLs point back 
 

They can, if you don't use absolute paths and thus stay within Freenet. 
You can have image URLs point to other freesites, too. Just use the 
following format:
img src=/[EMAIL PROTECTED]/sitename//image.png
Other keytypes (CHK and KSK) can be used, too.

to fproxy rather than a regular web server?
 

Not just image URLs, but any URLs pointing outside Freenet are changed 
to point to a warning page within fproxy.

--
 Mika Hirvonen [EMAIL PROTECTED]
 http://nightwatch.mine.nu/
___
Support mailing list
[EMAIL PROTECTED]
http://news.gmane.org/gmane.network.freenet.support
Unsubscribe at http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/support
Or mailto:[EMAIL PROTECTED]


Re: [freenet-support] doctype and other html tags through fproxy

2004-03-16 Thread Michal Charemza
Paul Derbyshire wrote:

What about inline images?

If tested this on a test freesite, and the scr for an inline image on 
the WWW gets changed to
/__CHECKED_HTTP__www.urlofimage.com/directory/image.gif

On 15 Mar 2004 at 14:10, Mika Hirvonen wrote:
Yes, because you could harvest the visitors' IP addresses by putting the 
DTD to your own WWW server and waiting for the visitors' browsers to 
automatically retrieve it.
Ok, so what is the DOCTYPE doesn't have a reference to an external DTD, such as 
the one on the freenet gateway page:
!DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.0 Transitional//EN
What is this type of doctype screened out? (It is screened out, checked) Does fproxy 
just cut down all doctype tags?
Michal



___
Support mailing list
[EMAIL PROTECTED]
http://news.gmane.org/gmane.network.freenet.support
Unsubscribe at http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/support
Or mailto:[EMAIL PROTECTED]


Re: [freenet-support] doctype and other html tags through fproxy

2004-03-16 Thread Toad
On Mon, Mar 15, 2004 at 11:42:36AM +, Michal Charemza wrote:
 Hi, I have two questions:
 
 1.  All the sites I've viewed on freenet, don't have a full doctype tag, 
 they either have none, or just
 
 !DOCTYPE, instead of
 !DOCTYPE HTML PUBLIC  blah blah
 
 The test site I inserted into my own node did have a full doctype tag 
 when I wrote it, but it didn't when I retrieved it, it just had !DOCTYPE.
 
 Is this due to fproxy's anonymity filter? If so, why does it 
 remove/shorten them? Also, I've noticed that the default gateway page 
 does have a full doctype tag, why, if  is fproxy that removes the tags 
 from freesites, does it let this one through?

A bug probably. There is code to let through valid HTML doctypes...
 
 2.  I have noticed on some pages they have this sort of section in the 
 header:
 
 !--index
 titleThe Freedom Engine/title
 categoryIndex/category
 descriptionThe mother of all freesite link lists./description
 activelinkActiveLink.jpg/activelink
 address typeDBR/address type
 authorCofE/author
 --
 
 What are all the tags for? Is there a list of all the tags you can put 
 in this section somewhere?
-- 
Matthew J Toseland - [EMAIL PROTECTED]
Freenet Project Official Codemonkey - http://freenetproject.org/
ICTHUS - Nothing is impossible. Our Boss says so.


signature.asc
Description: Digital signature
___
Support mailing list
[EMAIL PROTECTED]
http://news.gmane.org/gmane.network.freenet.support
Unsubscribe at http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/support
Or mailto:[EMAIL PROTECTED]

Re: [freenet-support] doctype and other html tags through fproxy

2004-03-16 Thread Toad
On Tue, Mar 16, 2004 at 12:42:34PM +, Michal Charemza wrote:
 Paul Derbyshire wrote:
 
 What about inline images?
 
 If tested this on a test freesite, and the scr for an inline image on 
 the WWW gets changed to
 /__CHECKED_HTTP__www.urlofimage.com/directory/image.gif
 
 
 On 15 Mar 2004 at 14:10, Mika Hirvonen wrote:
 Yes, because you could harvest the visitors' IP addresses by putting the 
 DTD to your own WWW server and waiting for the visitors' browsers to 
 automatically retrieve it.
 
 Ok, so what is the DOCTYPE doesn't have a reference to an external DTD, 
 such as the one on the freenet gateway page:
 !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.0 Transitional//EN
 What is this type of doctype screened out? (It is screened out, checked) 
 Does fproxy just cut down all doctype tags?

It shouldn't be screened out, but presumably there is a bug of some
sort.

 
 Michal
 
 
 
 ___
 Support mailing list
 [EMAIL PROTECTED]
 http://news.gmane.org/gmane.network.freenet.support
 Unsubscribe at 
 http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/support
 Or mailto:[EMAIL PROTECTED]

-- 
Matthew J Toseland - [EMAIL PROTECTED]
Freenet Project Official Codemonkey - http://freenetproject.org/
ICTHUS - Nothing is impossible. Our Boss says so.


signature.asc
Description: Digital signature
___
Support mailing list
[EMAIL PROTECTED]
http://news.gmane.org/gmane.network.freenet.support
Unsubscribe at http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/support
Or mailto:[EMAIL PROTECTED]

Re: [freenet-support] doctype and other html tags through fproxy

2004-03-16 Thread Paul Derbyshire
On 16 Mar 2004 at 15:29, Mika Hirvonen wrote:

 Paul Derbyshire wrote:
 
 What about inline images?
   
 
 Other http:// URLs are automatically converted by fproxy to point to a 
 warning page, so inline images are not displayed.

So freesites can't have images? Or can, if the image URLs point back 
to fproxy rather than a regular web server?
___
Support mailing list
[EMAIL PROTECTED]
http://news.gmane.org/gmane.network.freenet.support
Unsubscribe at http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/support
Or mailto:[EMAIL PROTECTED]


Re: [freenet-support] doctype and other html tags through fproxy

2004-03-16 Thread S
On Tue, 16 Mar 2004 19:40:17 -0500
Paul Derbyshire [EMAIL PROTECTED] wrote:

 So freesites can't have images? Or can, if the image URLs point back 
 to fproxy rather than a regular web server?

Right. The best way to place an image on a freesite is:

IMG SRC=/[EMAIL PROTECTED]

-s
___
Support mailing list
[EMAIL PROTECTED]
http://news.gmane.org/gmane.network.freenet.support
Unsubscribe at http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/support
Or mailto:[EMAIL PROTECTED]


Re: [freenet-support] doctype and other html tags through fproxy

2004-03-15 Thread Mika Hirvonen
Michal Charemza wrote:

!DOCTYPE, instead of
!DOCTYPE HTML PUBLIC  blah blah
Is this due to fproxy's anonymity filter? If so, why does it 
remove/shorten them? Also, I've noticed that the default gateway page 
does have a full doctype tag, why, if
Yes, because you could harvest the visitors' IP addresses by putting the 
DTD to your own WWW server and waiting for the visitors' browsers to 
automatically retrieve it.

is fproxy that removes the tags from freesites, does it let this one 
through?
Fproxy doesn't filter it's own pages, just the freesites.

2.  I have noticed on some pages they have this sort of section in the 
header:

!--index
titleThe Freedom Engine/title
categoryIndex/category
descriptionThe mother of all freesite link lists./description
activelinkActiveLink.jpg/activelink
address typeDBR/address type
authorCofE/author
--
What are all the tags for? Is there a list of all the tags you can put 
in this section somewhere?
These tags were used with TFEE, an index site with an automatic spider. 
DFI's spider might still use them, though.

--
 Mika Hirvonen [EMAIL PROTECTED]
 http://nightwatch.mine.nu/
___
Support mailing list
[EMAIL PROTECTED]
http://news.gmane.org/gmane.network.freenet.support
Unsubscribe at http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/support
Or mailto:[EMAIL PROTECTED]


Re: [freenet-support] doctype and other html tags through fproxy

2004-03-15 Thread Christopher Brian Jack
 !DOCTYPE, instead of
 !DOCTYPE HTML PUBLIC  blah blah

 The test site I inserted into my own node did have a full doctype tag
 when I wrote it, but it didn't when I retrieved it, it just had !DOCTYPE.

 Is this due to fproxy's anonymity filter? If so, why does it
 remove/shorten them? Also, I've noticed that the default gateway page
 does have a full doctype tag, why, if  is fproxy that removes the tags
 from freesites, does it let this one through?

This is a very likely possibility because the doctype makes reference to a
W3C DTD which is a public internet link.  The annonymity filter needs to
remove references to internet sites since most browsers will send a
referral URL that invades your privacy (it essence if the web browser goes
to the validation site it will do so with the address of the page you are
viewing.  This invades your privacy becomes someone reading the access
logs can find out what freesite you were visiting).  The government could
subpoena W3C's weblogs to find out about freesite accesses and they'll
have an IP number attached to the visit to their site so the referral
freesite URI + the IP number access in W3C's log could be used against you
if the material you were accessing is outlawed in the jurisdiction of
W3C's server or any government system that sees packets along the route to
W3C.  They could visit the same freesite by the referal URI and find out
what book you were reading at the time

 2.  I have noticed on some pages they have this sort of section in the
 header:

 !--index
 titleThe Freedom Engine/title
 categoryIndex/category
 descriptionThe mother of all freesite link lists./description
 activelinkActiveLink.jpg/activelink
 address typeDBR/address type
 authorCofE/author
 --

These are the meta tags used by freesites to support their inclusion onto
the various indexing freesites.

title - ovbious, this is the site's name
category - what kind of site is this?  I don't have knowledge
   about what acceptable values for this are
description - textual description of the freesite
activelink - the site icon to be associated with your freesite
 (think like the little banner icons many people
  put onto their regular internet websites for
  people to link to them with)
addresstype - again I'm iffy on all the acceptable values but DBR
  AFAIK means the address of this freesite permutates
  automatically to a different site name either daily or
  weekly at midnight GMT.  A site marked as DBR has to
  reinsert itself at the new DBR generated redirect
  key or the site effectively disappears (unless you
  select go to earlier site in the error screen that
  comes up for references to DBR sites that haven't
  been updated yet [or your routing can't find the new
  content yet]).

The alternative to DBR is to using revisions by putting an integer in the
URI part of your site.  You start the integer at 1 on your first insertion
of the site.  Your site forward references a number of 'editions' ahead
(that you have not yet inserted) by refering to the same uri echanging 1
for 2, 2,3 3,4 etc for several steps (usally four or five).  You have an
activelink image on each edition so on the existing (edition 1) page shows
up for edition 1.  If you haven't inserted a new edition then the other
activelinks show up as broken images.  But if at somepoint you insert with
the integer now set to 2 the #2 activelink comes alive and the visitor to
the #1 site now knows (by the unbroken activelink) that a second edition
is now available.  To be nice to people that might want to check on older
content your edition list should be design so that when more editions are
available that your have edition links that you put forward and at least
one previous edition so the users can backtrack the editions of your
freesite.

ie: site using 5 edition links (the numbers in [] would be your edition
activelinks)

first edition:
[1] [2] [3] [4] [5]

second edition:
[1] [2] [3] [4] [5]

third edition:
[2] [3] [4] [5] [6]

fourth edition:
[2] [3] [4] [5] [6]

fifth edition:
[3] [4] [5] [6] [7]

sixth edition:
[4] [5] [6] [7] [8]

The edition list 'scrolls' as you have more editions than links the user
can still follow the backlinks to get to previous editions.

Or you can keep a permanent edition list with at least one forward edition
link).  You'd probably do it with buckets.  This following setup would let
you do four editions before having having to add another row for the next
five editions:

while publishing edition 1-4:
[ 1] [ 2] [ 3] [ 4] [ 5]

while publisihing edition 5-9:
[ 1] [ 2] [ 3] [ 4] [ 5]
[ 6] [ 7] [ 8] [ 9] [10]

while publisihing edition 10-14:
[ 1] [ 2] [ 3] [ 4] [ 5]
[ 6] [ 7] [ 8] [ 9] [10]
[11] [12] [12] [14] [15]

while publisihing edition 15-19:
[ 1] [ 2] [ 3] [ 4] [ 5]
[ 6] [ 7] [ 8] [ 9] [10]
[11] [12] [12] [14] [15]
[16] [17] [18] [19] 

Re: [freenet-support] doctype and other html tags through fproxy

2004-03-15 Thread Paul Derbyshire
On 15 Mar 2004 at 14:10, Mika Hirvonen wrote:

 Michal Charemza wrote:
 
  !DOCTYPE, instead of
  !DOCTYPE HTML PUBLIC  blah blah
  Is this due to fproxy's anonymity filter? If so, why does it 
  remove/shorten them? Also, I've noticed that the default gateway page 
  does have a full doctype tag, why, if
 
 Yes, because you could harvest the visitors' IP addresses by putting the 
 DTD to your own WWW server and waiting for the visitors' browsers to 
 automatically retrieve it.

What about inline images?
___
Support mailing list
[EMAIL PROTECTED]
http://news.gmane.org/gmane.network.freenet.support
Unsubscribe at http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/support
Or mailto:[EMAIL PROTECTED]