last updated:

NOTE: I had to update the script at 3:40 PM on 3/18/2000; there was a problem with creating correct links for all of the news days on a home page with multiple days. It’s fixed now; you have to grab the script again, and look at #6 in the instructions below to use the new fix.

Lately, there’s been a move in the weblog world to be able to provide a link on each day’s page to that day’s permanent URL; that way, if someone wants to link to some wise (or not so wise) thing that you shared that day, they can do so explicitly.

Manila has always had permanent URLs for each day’s page, but unless you were a Manila user, you would have had to know this and know the format of the URLs. (Not that they’re hard…) I decided to write a small macro that you can include in your news template to do all this for you and your users. The macro is attached to this message (if you can’t see it, you may be in story view mode; switch to discussion group mode and you’ll see it in the header of the message).

What does it do?

It generates the proper link to a given day’s permanent page for your Manila site. By including it in your News Day Template (on the Advanced Prefs page), it will generate the proper link for every day, as it will appear in every day’s template.

What does it look like?

You can see it on this site. Go back out to the home page, and look in the bar that contains the date over every day’s entries. There’s a little P with a square around it at the right edge; hover over it, or click on it. That’s the link. You will see it on the news page for any day on this site.

How do I use it?

You either have to have your own Manila server, or your site has to be on a server that has implemented this macro and made it legal.

Here’s how to set it up on your own server:

  1. First, download the script from this message. The easiest way is to click on the fat page link in the message header above, and then save that page to your hard disk.
  2. Import the script into Frontier, by opening the fat page with the File/Open menu. You can save the script in one of two places: the #tools table of your Manila site, or the user.html.macros table of Frontier.root. If you save it in the former, then it will be available only to your specific Manila site. If you choose the latter, then it will be available to all Manila sites running on your server.
  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 linkToDay. Within this new table, create two entries, both booleans — flLegal (set to true), and flParams (also set to true). (Userland has a page on safe macros here.)
  4. Go into your Manila site Preferences, and choose the Advanced pane. Scroll down to the News Day Template; this is where you should add the macro into your site, as it will then appear on every day’s page.
  5. Edit the template, adding in a call to the linkToDay macro. The syntax for calling the macro is {linkToDay(visible content of link, day to link to)}. (See below for examples.)
  6. You have to use a bit of trickery in the call to the macro; the second parameter should be “{newsPostTime}”. Manila will replace this with the actual date of the news page that’s being processed before it hands off the macro to Frontier to process; this way, each day on a multi-day home page will get the right link generated.
  7. Return to your Manila site home page, and see if it worked!

Examples

The one aspect of this macro that you can control is the visible text (or picture, or whatever) that represents the link to the user.

If I wanted my link to read “link to permanent address of this page”, then I would call the macro like this:

{linkToDay(“link to permanent address of this page”, “{newsPostTime}”)}

If I wanted it to have an image of a smiley face (that I had previously uploaded to the URL “http://me.com/smiley.gif”), then I would call it like this:

{linkToDay(“<img src="http://me.com/smiley.gif">”, “{newsPostTime}”)}

(Note the backslashes in that last example, escaping out the quotation marks so that the macro doesn’t think that I’ve ended the content that I want in my link.)

What if I find problems?

Then please, by all means mail me or post a reply to this discussion group message.

Update

Dave Winer added similar support to all Manila sites with the newsArchiveLink macro.

Comments

On your home page, the link for March 17th in the header is /2000/03/18. It looks like only the current day’s link “sticks”.

I wonder if there’s any way around that…

Jim

• Posted by: Jim Roepcke on Mar 18, 2000, 2:39 PM

Wow, I didn’t catch that — lemme work on it.

(It’s because the page is generated from a pagetable that is local to the topmost news on the home page — that is, the postDate for the whole page is the postDate for the topmost news date on the page.)

OK, it’s fixed, but it requires you to get the script again if you’ve already gotten it. It also requires another step when you are setting up your News Day Template; see the installation instructions.

/jason

• Posted by: Jason Levine on Mar 18, 2000, 3:24 PM

Excellent work Jason! I forgot about the work around you used. Kinky!

I’d love to use that on my site…

Jim

• Posted by: Jim Roepcke on Mar 18, 2000, 4:38 PM
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!

slot88

vikingtoto

p>bengkulutoto

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

https://www.xde.com.ph/

https://imperialvets.com/imperial-animal-hospital/contact-us/

densustoto

dewaking

slot

slot

slot

cancertoto

cancertoto

situs slot

slot

bengkulutoto

slot

toto slot

toto slot

situs slot

coloktoto login

bengkulutoto

slot

babeltoto

cancertoto

babeltoto

bengkulutoto

bengkulutoto

slot88

スマスロ

malukutoto

hukumtoto

vikingtoto

viking toto

malukutoto

top1toto

tasiktoto

tasiktoto

batmantoto

slot gacor

situs toto

cancer toto

cancertoto

https://cashwave.live/payment-partner/

vikingtoto

https://www.mundwiler-juwelen.ch/kontakt/

piktoto

heroslot88

bengkulutoto

vikingtoto

toto

cancertoto

wiltoto

bengkulutoto

bengkulutoto

vikingtoto

https://www.joyd.my/brand/moda/

bengkulutoto

mamatogel

vespa36

vespa36

coktogel

batmantoto login

coktogel

batmantoto

hukum toto

vikingtoto

viking toto

cancertoto

top1toto

cancertoto

batmantoto.de

cancertoto

kudahoki

batmantoto login

tasiktoto

paitocambodia.name

paitochina.blog

bengkulutoto

vikingtoto

depo 5k

viking toto

SITUS SLOT ONLINE

piktoto

toto slot

kartutoto

batman toto

wisdomtoto

toto online

slot toto

situs toto

8kbetplay

slot 5k

8kbetplay

situs slot88

slot 4d

toto togel

situs toto

bandar togel

https://prediksibatmantogel4d.com/

cancertoto

cancertoto

batmantoto

top1toto

top1toto

bydplay

bydplay

citibet88

citibet88

cancertoto

top1toto

situs toto cas89

japanlotto.store

kakaktogel

bengkulutoto

piktoto

toto

cancer toto

bengkulutoto

bengkulutoto

bengkulutoto

piktoto

babeltoto

Rtp Slot Gacor

piktoto

Sbobet

Slot Qris

piktoto

Slot Gacor

Toto

hokijp68

bengkulutoto

cancer toto

piktoto

bengkulutoto

rebahin

Savefrom

slot88

slot jackpot

toto

toto

coloktoto.nl

toto

batmantoto login

https://kidneystonemelbourne.com.au/kidney-stones/

vikingtoto

toto

altartoto

toto

piktoto

jitu26

jitu26

pokemontoto

piktoto

vespa36

vespa36

cancertoto

batmantoto

batmantoto

piktoto

batmantoto

batmantoto

batmantoto

situs togel

togel online

cancer toto

vespa36

vespa36

bengkulutoto

cancertoto

slot toto

toto 4d

cancer toto

top1toto

link toto

toto wuhan

situs toto

toto macau

toto slot gacor

daftar toto

batmantoto

coloktoto login

coloktoto login

toto

malukutoto

vespa36

vespa36

jitu26

jitu26 resmi

piktoto

toto

tasiktoto

babeltoto

babeltoto

babeltoto

babeltoto

babeltoto

pokemontoto

rexonatoto

babeltoto

babeltoto

batmantoto

batmantoto

coloktoto

cancertoto

cancertoto

cancertoto

batmantoto login

toto

vespa36

pokemontoto

situs toto

coktogel login

slot gacor

slot toto

malukutoto

usahatoto

piktoto

situs toto

usahatoto

laetoto login

unsurtoto

unsurtoto

piktoto

malukutoto

top1toto

unsurtoto

malukutoto

unsurtoto

unsurtoto

toto

vespa36

vespa36 resmi

vespa36

vespa36

piktoto

link gacor

cancertoto

piktoto

link gacor

pokemontoto

rajalangit77 official

rajalangit77 togel

https://www.terangtampil.xyz/

malukutoto

top1toto

babeltoto

babeltoto

piktoto

jitu26

jitu26

vespa36

vespa36

viking toto

sesetoto

batmantoto login

bengkulutoto

vespa36

top1toto

vespa36

labirintoto

gelasjitu

balontoto

toto slot

pokemontoto

malukutoto

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

https://wiltoto.cz/wap/

https://wiltoto.tw/user/

https://wiltoto.pw/register/

coktogel

coktogel

paito taiwan

coktogel

vespa36

malukutoto

vespa36

pokemontoto

cas89 login

indototo

raja88

tasiktoto

tasiktoto

coktogel

hukumtoto

cancertoto

wisdomtoto

cancertoto

cancertoto

cancertoto

cancertoto

situs toto

cancertoto

toto slot

cancertoto

cancertoto

situs gacor

slot gacor

situs slot

jitu26

jitu26

jitu26

jitu26

situs toto

babeltoto

babeltoto

vespa36

vespa36

jitu26

cancertoto

jitu26

pokemontoto

malukutoto

malukutoto

malukutoto

cancertoto

slot gacor

situs toto

toto macau

vespa36

vespa36

bengkulutoto

bengkulutoto

toto

bengkulutoto

tartoto

tartoto

tartoto

jitu26

jitu26

4DHOKI

kientoto

babeltoto

babeltoto

babeltoto

babeltoto

babeltoto

kicautoto

situs toto

dewaking

babeltoto

rajaking

pangkutoto

pokemontoto

jitu26

kicautoto

slot gacor

jitu26

top1toto

cancertoto

cancertoto

cancertoto

best usa casinos online

majumapan99

babeltoto

bengkulutoto

situs 5k

depo 5k

gacor

medantoto

medantoto

pokemontoto

medantoto

vikingtoto

tasiktoto

slot jp

vespa36

vespa36

depo 5k

situs toto

bengkulutoto

bengkulutoto

rajalangit77

babeltoto

bengkulutoto

bengkulutoto

https://bestroofings.ca/about/

bengkulutoto

tasiktoto

cancertoto

rajaking

situs toto

situs toto

cancertoto

kudahoki

bulantogel

bulantogel

cancertoto

kudahoki

pokemontoto

kudahoki

rajaking

cancertoto

raja king

kari4d

bengkulutoto

kaostogel

kaostogel

kaostogel

kaostogel

pokemontoto

bengkulutoto

babeltoto

babeltoto

KUDAHOKI

bengkulutoto

slot gacor

bengkulutoto

top1toto

bengkulutoto

babeltoto

paito hk

bengkulutoto

cancertoto

coktogel

tasiktoto

rajaking

bengkulutoto

bengkulutoto

tasiktoto

tasiktoto

cancertoto

top1toto

bengkulutoto

bengkulutoto

vikingtoto

rajaking

bengkulutoto

bengkulutoto

bengkulutoto

vikingtoto

toto

slot

depo 5k

pokemontoto

situs toto

phoenixreslabs.com

tasiktoto

tasiktoto

kari4d

pangkutoto

vikingtoto

flokitoto

pokemontoto

gelasjitu

gelasjitu login

gelasjitu daftar

gelasjitu.org

flokitoto

slot

flokitoto

flokitoto

flokitoto

altartoto

flokitoto

flokitoto

flokitoto

bengkulutoto

bengkulutoto

flokitoto

slot

flokitoto

wak89

babeltoto

flokitoto

babeltoto

flokitoto

flokitoto

flokitoto

flokitoto

bengkulutoto

bengkulutoto

tarungtoto

bengkulutoto

bengkulutoto

bengkulutoto

KASKUSTOTO

KASKUSTOTO

flokitoto

tasiktoto

tasiktoto

flokitoto

flokitoto

flokitoto

bengkulutoto

flokitoto

flokitoto

flokitoto

flokitoto

flokitoto

flokitoto

kari4d

kari4d

bengkulutoto

bengkulutoto

bengkulutoto

COKTOGEL

flokitoto

flokitoto

vikingtoto

situs toto

situs toto

situs toto

bengkulutoto

slot qris

flokitoto

flokitoto

flokitoto

kari4d

kari4d

flokitoto

flokitoto

flokitoto

flokitoto

toto hoki

toto jp

kari4d

pascol4d

kari4d

toto

bengkulutoto

tasiktoto

ngawitoto

situs toto

babeltoto

flokitoto

flokitoto

bandar togel

angkringan138

slot gacor

pascol4d

pascol4d

kari4d

kari4d

kicautoto

flokitoto

situs slot

slot gacor mahjong

https://linkneon88.com/

toto

flokitoto

flokitoto

tasiktoto

tasiktoto

bengkulutoto

hoki

slot

toto

hoki

bengkulutoto

bengkulutoto

flokitoto

flokitoto

lgomax99

lgomax99

lgowin99

lgowin99

mpo500

hukumtoto

kicautoto

hukumtoto

hukumtoto

situs toto

situs toto

flokitoto

babeltoto

babeltoto

https://supercok.com/

JEMARI4D

JEMARi4D

JEMARI4D

pas4d

flokitoto

flokitoto

laetoto

laetoto

sekutu4d

flokitoto

vespa36

vespa36

flokitoto

flokitoto

flokitoto

tasiktoto

tasiktoto

kakek111

flokitoto

flokitoto

ternatetoto

flokitoto

mega888

flokitoto

bengkulutoto

tasiktoto

pascol4d

kari4d

pascol4d

situs toto

wisdomtoto

situs toto

toto macau

situs toto

pascol4d

pascol4d

toto

laetoto

jakartaslot88

jakartaslot88

desabet

tasiktoto

situs toto

desabet

situs toto

top1toto

duniatoto

flokitoto

flokitoto

kari4d

bulantogel

bulantogel

tegaltoto

tegaltoto

tegaltoto

desabet

desabet

tegaltoto

FILM PORNO