last updated:

UPDATE: I forgot to tell people that there are two small edits that have to be made to the attached script in order to make it site-specific; see #4 in the installation instructions below.

After running well for over a week, and working out a few bugs, I think that the code for the Referrer Log is ready for release. It’s attached to this message; if you have any problems, questions, or anything like that, just respond to this message. (If you don’t see the header above that shows the attachments, then you’re probably in story view mode; switch to discussion group mode and you’ll see it.)

What does it do?

It shows you a table of all of the websites that are listed as referrers in hits to your website. (This information is kept in the mainResponder logs, and has heretofore been hard to get at in a quick way.)

What does it look like?

You can see an example on this website. It’s been running here since January 3rd.

How do I use it?

You’ve got to have your own Frontier server; the Referrer Log runs as a safe macro, so you have to have the ability to add a script into the #tools table of your website, and have to be able to modify the list of safe macros. Here’s how you do everything:

  1. First, download the getReferrers script from this message. (It’s linked above, in the message header; the easiest way is to click on the fat page link and save the resulting web page to your hard disk.)
  2. Import the script into Frontier. (If you saved the fat page, just use Frontier’s File/Open menu command to open the page.) Save the script into the #tools table of your Manila website, with the name getReferrers. (On my machine, that’s quesoManilaWebsite.[“#tools”].getReferrers.)
  3. Tell Frontier that the script is safe to run as a macro. You do this at config.mainResponder.prefs.legalMacros; inside this table, create another table named getReferrers. Within this new table, create two entries, both booleans — flLegal (set to true), and flParams (also set to true). (If you wanna read it, the straight dope on safe macros from Userland is here.)
  4. Edit the script to refer to your own website, rather than to mine. :) There are two places in the script to change:
    • The line that reads if mrLog^[i][j].host == “q.queso.com” should have your own website hostname in it — this is the line that returns just those hits that are for your website. (It’s meant to help with machines, like EditThisPage, that serve up more than one Manila site — you’ll be able to limit the referrers to just one site.)
    • The line that reads if string.patternMatch(“queso.com”, nameOf(referrerTable[i])) > 0 should also be changed to the domain name of your site — it will eliminate all of the references from your own domain. (This will eliminate pages on other webservers of yours that point to your Manila site — it was something that I wanted for my own.)
  5. Lastly, you have to be using guest database logging — it’s the guest database that the script trawls through in order to get all of the referrers. In order to make sure that you’re logging to a guest database, go to user.log.prefs.flLogToGuestDatabase and set it to true.

That’s it for installation — the script now exists in your Manila website, and set up as a safe macro.

Now, as for using the macro… that’s easy. You can just put {getReferrers()} in any discussion group message or story, and it will be replaced by a table of your referrers, just like the table on q.

Also, remember that you can use your Advanced Prefs of your Manila site to create a site structure link to your referrers page (so you can end up with URLs like http://q.queso.com/referrers).

What if I find a problem?

Please mail me with anything that you find, including security issues (since this is a safe macro, and I should make sure that it stays safe).

Comments

Jason,
I downloaded this successfully via RPC and I have it running on MedEd News. I did change a couple of references to “queso.com” in the code to the name of my own server. Thanks!

• Posted by: David Theige on Jan 12, 2000, 3:44 PM

Yep, I totally forgot to put that in the readme. Ugh. It’s there now.

I just looked for it on MedEd News, and didn’t find any reference… is it something that the public can look at?

Glad that it’s working!

/jason

• Posted by: Jason Levine on Jan 12, 2000, 7:54 PM

—->ignore

sorry.

• Posted by: Erin Clerico on Jan 15, 2000, 3:23 AM

Thanks dude.

See it at:

http://villageNews.weblogger.com/discuss/msgReader$291

or

http://www.fragdifferent.com/discuss/msgReader$291


(the fact that both messageNum values are the same is a really strange coincident! It must be a sign from the gods!)

-Erin Clerico

• Posted by: Erin Clerico on Jan 15, 2000, 3:24 AM

Great Tool, Jason! This helps me keep track of which places are working for me as far as search engines etc. I run www.blogthis.com which is registered with most of the search engines, and weblog monitoring sites. Your tool is very helpful.

• Posted by: Scott on Jan 16, 2000, 4:57 PM

nice one, thanks.

i downloaded the script and added some tweaks:

  • you can put it in your users.html.macros table to run on every website hosted by the server.
  • you can get the URL of your site out of the pagetable
contact me, if you need details.

kris

• Posted by: arf on May 2, 2000, 6:47 PM

I hadn’t thought of getting the URL out of the pagetable — dumb me, since most of my other utility scripts do exactly that!

As for the ability to put it into your user.html.macros table, did you have to add anything to the script to allow that? It seems that you should just be able to do that out of the box.

/jason

• Posted by: Jason Levine on May 2, 2000, 10:25 PM

As for the ability to put it into your user.html.macros table, did you have to add anything to the script to allow that? It seems that you should just be able to do that out of the box.

the macros in user.html.macros work on all websites — static and dynamic. you put your macro there instead. if you have an additional macro in your #tools table it will be taken instead of the one in
user.html.macros.

i also modified it to work for websites with a name like http://[xxx.xxx.xxx]/[identifier]/. It is fairly simple as well.

another thing: live could be easier if you use the commands
***beginsWith
and
***contains
if you work with strings.

kris

• Posted by: arf on May 3, 2000, 6:22 AM
Please note that comments automatically close after 60 days; the comment spammers love to use the older, rarely-viewed pages to work their magic. If comments are closed and you want to let me know something, feel free to use the contact page!

vikingtoto

viking toto

bengkulutoto

mama togel

vespa36 resmi

vespa36 resmi

batmantoto login

hukumtoto

cancertoto

top1 toto

cancertoto

bengkulutoto

batmantoto.de

tasiktoto

paitocambodia.name

cancertoto

wisdomtoto

bengkulutoto

hukumtoto link alternatif

vikingtoto

wisdomtoto

kartutoto

toto slot

situs toto

situs depo 5k

8kbetplay

slot88 gacor

toto slot 4d

situs togel

toto 4d

agen toto

cancertoto

cancertoto

bydplay resmi

bydplay login

citibet88 login

mega99 login

top1toto login

top1toto login

mpo500

cancertoto

top1toto

cas89

japanlotto.store

bengkulutoto

cancertoto

bengkulutoto

babeltoto

Rtp Slot Gacor

Sbobet

Slot Qris

Slot Gacor

Toto

depo 5k

slot88

slot jackpot

7amnews.in

cancertoto

wiltoto

toto

vespa36 resmi

vespa36 resmi

jitu26 resmi

situs toto

jitu26 resmi

vespa36 resmi

wisdomtoto

wisdomtoto

KILAU4D

KILAU4D

piktoto

KILAU4D

altartoto

KILAU4D

KILAU4D

batman toto

batman toto

batman toto

cancertoto

piktoto

batman toto

batman toto

situs togel

togel online

vespa36 resmi

vespa36 resmi

SITUS SLOT ONLINE

jitu26 login

jitu26 resmi

top1 toto

maluku toto

tasiktoto

cancertoto

babeltoto

babeltoto

babeltoto

babeltoto

pokemontoto

babeltoto

babeltoto

babeltoto

batman toto

batman toto

vespa36 resmi

vespa36 resmi

toto slot

rexonatoto

cancertoto

cancertoto

cancertoto

Mix parlay

vespa36

vespa36 resmi

piktoto

toto slot

vespa36

vespa36 login

piktoto

unsur toto

unsur toto

situs toto

piktoto

unsur toto

unsur toto

maluku toto

unsur toto

jitu26 resmi

piktoto

slot gacor

jitu26 resmi

top1 toto

vespa36

vespa36

pokemontoto

rajalangit77 toto

mpo 500

projektoto

slot

sesetoto login

bengkulutoto

maluku toto

cancer toto

vespa36

top1toto login

maluku toto

vespa36

toto slot

piktoto

enoki77

gelasjitu

balontoto

situs toto

malukutoto login

สล็อตเว็บตรง

pokemontoto

wiltoto.cz/wap/

piktoto

wiltoto.tw/user/

wiltoto.pw/register/

paito taiwan

situs toto

vikingtoto

vespa36 resmi

vespa36 resmi

indototo

raja88

tasiktoto

tasiktoto

hukum toto

maluku toto

cancertoto

cancertoto

cancertoto

cancertoto

cancertoto

cancertoto

toto slot

wisdomtoto

toto

cancertoto

cancertoto

jitu26 resmi

jitu26 resmi

JEMARI4D

JEMARI4D

JEMARI4D

JEMARI4D

depo 5k

jitu26 resmi

vikingtoto

cancer toto

vikingtoto

babeltoto

vespa36

babeltoto

vespa36 resmi

vespa36 resmi

jitu26 resmi

jitu26 resmi

slot gacor

cancer toto

situs toto

toto macau

vespa36

vespa36

jitu26 resmi

jitu26 resmi

jitu26

jitu26

majumapan 99

pokemontoto

situs 5k

depo 5k

slot gacor

vespa36 resmi

top1 toto

cancer toto

cancer toto

cancer toto

kicautoto

vespa36 resmi

medantoto

medantoto

pokemontoto

medantoto

toto 4d

pokemontoto

vikingtoto

dewaking

rajaking

tasiktoto

kicautoto

bengkulutoto

kari4d

hukum toto

depo 5k

depo 5k

situs toto

situs toto

situs toto

depo 5k

cancer toto

rajaking

cancer toto

cancer toto

cancer toto

rajaking

kari4d

pascol4d

pucuk4d

babeltoto

bengkulutoto

slot gacor

bulantogel

pokemontoto

bulantogel

bengkulutoto

bengkulutoto

rajaking

babeltoto

vikingtoto

hukumtoto

hukumtoto

cancer toto

hukumtoto

paito hk

rajaking

toto

pokemontoto

bengkulutoto

tasiktoto

mahjong ways slot mahjong ways slot mahjong mahjong slot

bengkulutoto

cancertoto

bengkulutoto

tasiktoto

tasiktoto

bengkulutoto

bengkulutoto

vikingtoto

bengkulutoto

dewaking

top1toto

rajaking

toto

slot

depo 5k

pokemontoto

wisdomtoto

gelas jitu

gelas jitu login

gelas jitu daftar

gelasjitu.org

mpo500

pokemontoto

bengkulutoto

bengkulutoto

bengkulutoto

kari4d

vikingtoto

toto

tasiktoto

tasiktoto

viking toto

https://ferreclicks.mx/cepillos/

vikingtoto

hukumtoto

vikingtoto

flokitoto

pokemontoto

altartoto

flokitoto

wisdomtoto

flokitoto

flokitoto

flokitoto

flokitoto

flokitoto

mpo500 login

mpo500 login

mpo500 login

flokitoto

flokitoto

wak89

slot

babeltoto

dewaking

flokitoto

babeltoto

flokitoto

flokitoto

flokitoto

flokitoto

kari4d

kari4d

KASKUSTOTO

KASKUSTOTO

flokitoto

tasiktoto

tasiktoto

flokitoto

flokitoto

flokitoto

flokitoto

flokitoto

flokitoto

flokitoto

flokitoto

flokitoto

kari4d

kari4d

vikingtoto

flokitoto

flokitoto

vikingtoto

kari4d

pascol4d

pascol4d

situs toto

situs toto

vespa36

pascol4d

kari4d

situs toto

bengkulutoto

kari4d

kari4d

pascol4d

toto hoki

pascol4d

toto jp

toto

slot qris server thailand

flokitoto

flokitoto

flokitoto

pascol4d

pascol4d

pascol4d

kari4d

kari4d

flokitoto

flokitoto

toto hoki

kari4d

kari4d

kari4d

flokitoto

bengkulutoto

tasiktoto

babeltoto

flokitoto

mpo500

mpo 500

angkringan138

flokitoto

pascol4d

neon88

cas89

mpo500

flokitoto

slot gacor

https://linkneon88.com/

slot

toto

kicautoto

wisdomtoto

tasiktoto

tasiktoto

bengkulutoto

kicautoto

bengkulutoto

flokitoto

flokitoto

gacor

bolaslot88

hukum toto

vespa36

vespa36

kicautoto

situs toto

situs toto

situs toto

situs toto

situs toto

situs toto

situs toto

situs toto

flokitoto

babeltoto

babeltoto

https://supercok.com/

bengkulutoto

pas4d

flokitoto

flokitoto

laetoto

laetoto

flokitoto

flokitoto

flokitoto

flokitoto

pascol4d

kari4d

pascol4d

tasiktoto

tasiktoto

flokitoto

flokitoto

ternatetoto

flokitoto

flokitoto

pascol4d

pascol4d

pascol4d

tasiktoto

hoki

toto

abcslot gacor

slot 5000

pucuk4d

kari4d

kari4d

jakartaslot88

jakartaslot88

desabet

tasiktoto

tasiktoto

desabet

top1toto

dunia toto

flokitoto

flokitoto

babeltoto

bengkulutoto

toto

medantoto

medantoto

medantoto

bulantogel

bulantogel

flokitoto

batmantoto17.com

toto slot

kimia4d

laetoto

tasiktoto

babeltoto

babeltoto

laetoto

Link situs sipjitu

kakaktogel

prediksijitukakaktogel.com

togel online

kari4d

kari4d

cancertoto

bengkulutoto

bengkulutoto

laetoto

flokitoto

slot demo

slot gacor

slot gacor

slot

slot jackpot

kari4d

kimia4d

bokep bocil

mega888 malaysia

pucuk4d

slot gacor

tasiktoto

inclavecasinos

flokitoto

flokitoto

babeltoto

flokitoto

flokitoto

flokitoto

flokitoto

pucuk4d

situs toto

ทดลองเล่นสล็อต

flokitoto

kimia4d

rakutoto

wajibslot

PAPUATOTO

rajaking

damaibet

malukutoto

mpo500

malukutoto

malukutoto

malukutoto

malukutoto

malukutoto

flokitoto

flokitoto

flokitoto

mataramtoto

slot gacor

tasiktoto

rupiahbet

slot gacor

kuda hoki

tasiktoto

manadototo

sayangbet

sayangbet

sayangbet

sayangbet

sayangbet

sayangbet

sayangbet

manadototo

cancer toto

manadototo

PASCOL4D

kimia 4d

slot demo

demo mahjong ways

slot server thailand

LGOGACOR

medantoto

situs toto

wak89

FLOKITOTO

dunia toto

cukongbet

laetoto

hukum toto

slot

babeltoto

tasiktoto

hukum toto

เว็บสล็อต แท้ 100 เปอร์เซ็นต์

dunia toto

laetoto

tasiktoto

malukutoto

bet10ribu

situs toto

topslot88

topslot88

topslot88

sayangbet

topslot88

kakek111

slot

cancer toto

babeltoto

toto macau

licin4d

batak5d

bolaslot99

bolaslot99

mbahslot

tasiktoto

situs toto

situs toto

hukum toto

situs toto

situs toto

pucuk4d

pucuk4d

dvtoto

dvtoto

berlian789

toto

ทดลองเล่นสล็อต

DEWALANGIT

RAJA88

best crypto casinos online

https://wak89.org/

grafikjitu login

https://wakmariot89.com/

bydplay

bydplay

bydplay

rajalangit77

tasiktoto

sayangbet

babeltoto

babeltoto

babeltoto

best crypto casinos

wisdomtoto

Jakartaslot88

mama togel

Jakartaslot88

Jakartaslot88

Jakartaslot88

sayangbet

Jakartaslot88

babeltoto

wisdomtoto

tasiktoto

slot88 resmi

babeltoto

pucuk4d

pucuk4d

pucuk4d

bandar togel

kakaktogelvip.org

info bocoran rtp

bengkulutoto

mataramtoto

slot gacor

faster payout online casinos

watitoto

slot gacor

situs toto

cancertoto

https://dinporapar.purbalinggakab.go.id/

cancer toto

kaya 787

damaibet

babeltoto

babeltoto

RAJALANGIT77

situs toto

situs toto

babeltoto

kimia4d

kimia4d

kimia4d

wisdomtoto

berlian789

mataramtoto

bengkulutoto

yumetoto

medantoto

medantoto

medantoto

damaibet

situs toto

situs toto

hukumtoto

wisdomtoto

flokitoto

damaibet

situs toto

medantoto

medantoto

jogjatoto

inclave casinos login

mpo500 login

pucuk4d

slot thailand

pucuk4d

kari4d

mama togel

kari4d

babeltoto

tasiktoto

tasiktoto

pangkutoto login

slot gacor

gaya4d

gaya4d

sistem4d

sistem4d

winsortoto login

winsortoto login

winsortoto login

winsortoto login

winsortoto login

winsortoto login

mataramtoto

hukumtoto

hukumtoto

cancer toto

cancer toto

sayangbet

cancer toto

cancer toto

cancer toto

cancer toto

cancer toto

cancer toto

mpo500

paito sdy

paito sgp

paito hk

tasiktoto

tasiktoto

slot

papuatoto

slot 5k

babeltoto

kakaktogel