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!

mpo500

bengkulutoto

viking toto

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

bengkulutoto

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

kudahoki

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