Plugin: Linknotes
I was reading Nuclear Moose:”Nuclear Moose(The guy who inspired me to make linknotes)”:http://nuclearmoose.com and I read this heading “Plugin Wanted” :”Plugin Wanted(The post that led me to write Linknotes)”:http://nuclearmoose.com/archives/2005/07/28/plugin-wanted/ (for WordPress:”WordPress”:http://wordpess.org/ , as I had imagined) and opened it up, to see what he was looking for, just to see if it was anything neat.
I read through it, and he talked about making inline links less obtrusive, and suggested a thing called link notes, sort of like foot notes, but with links. I thought that this was indeed a neat idea, and would be worth investigating, and testing out. So, I read through the comments, went off to the Wordpress Support Forums:”Wordpress Support
Forums”:http://wordpress.org/support/ and couldn’t find anything that was exactly what he wanted, and what I wanted to do with it.
So, I went to work. I was going to through it together from scratch, BUT I found it easier just to basically rip some stuff out of the Textile plugin, and added a bunch of modifications.
This is how it works when your writing a post.
Write Something Here:”Testing(I’m Testing this thing)”:http://google.com/
And it will show up like this:
Write Something Here:”Testing(I’m Testing this thing)”:http://google.com/
*NEW*
This is how you add a footnotes
Write something esle here:”(This is a normal foot note, look at that)”:
And it will show up like this
Write something esle here:”(This is a normal foot note, look at that)”:
I just want to note that Linknotes ONLY affects the post content, and pages, but NOT excerpts, or any other body of content. I thought things might get insane if you had footnotes for the excerpt and such. If you have any comments, ideas, thoughts, complaints, etc, just leave a comment.
Linknotes is now available for Download. If you do decide to use it, please leave a comment, or email me, I’d like to eventually add a running tally of websites using Linknotes in my linkblog.
*Update*
I think Owen Winkler:”Owen Winkler(His post on his plugin Link Footnotes)”:http://asymptomatic.net/wp/2005/08/08/1874/link-footnotes/ may have a better, and straightfoward solution, where as mine is very round about. Go check out his plugin:”Redalt(Where you can download Owen Winkler’s Link Footnotes)”:http://redalt.com/downloads/ . Both have there advantages, though I haven’t investigated much of Owen’s plugin. I do know that this plugin is more customizable, Bloglines friendly, and has quicktag buttons (which you can turn on or off easily in the plugin file)
v0.5 - Aug 11 2004 01:32 EST
* Added notes, item, and description templates for more customization
* Linknotes show up in an ordered list by default
* Added footnote functionality, just remove the title and url - :”(This is a footnote)”:
* Removed a bunch of excess code
* Fixed a few javascript issues with buttons
* Thanks for Chris J. Davis for some ideas :”(Chris J. Davis gave me most of the ideas for this update. Go to his website. Thanks alot Chris!)”:
v0.4a - Aug 9 2005 15:11 EST
* Added javascript to superscript links in footnote section, to allow easier maneuverability in Bloglines (and other aggregators that allow extra attributes, but open links in new window)
v0.4 - Aug 9 2005 13:52 EST
* Changed the format in the “CHANGES” section of the file, so I can just copy and paste to and from my blog, and textile will do the rest!
* Changed and added some code bits. Nothing to really notice
* Changed $lnCfg['seperate'] to $lnCfg['item_begin'] and $lnCfg['item_end']
* Added javascript to make sure the superscript link is executed within the same window (Because Bloglines messes up) This Totally messes with textile use of the underscore
v0.3a - Aug 8 2005 14:20 EST
* Added quicktag selection support. The selected text will be set as your Title. Tested in Firefox and IE.
v0.3 - Aug 8 2005 13:00 EST
* Added 2 buttons to quicktags. Add Linknote [linknote], and Add Linknote with Description [linknote+desc]
v0.2 - Aug 8 2005
* In superscript anchor tag, replaced the HREF attribute with actual link URI. Used JavaScript to re-write href to go to linknotes. Used to compensate when RSS agregators remove attributes
* Added Title and description of Linknote to the Title attribute in the superscript Anchor.
* Added a hyphen (-) to seperate the post number, and the number of the linknote in the ID’s used to jump to and from the Linknotes
* Wrapped Linknotes into a <div></div> tag with the CSS class alt
*Download*
Linknotes v0.5 Code | *Latest*
Linknotes v0.4a Code
Linknotes v0.4 Code
Linknotes v0.3a Code
Linknotes v0.3 Code
Linknotes v0.2 Code
Linknotes v0.1 Code | Download .ZIP
August 7th, 2005 at 6:05 am
Holy Mother Of Moose! This is EXACTLY what I had in mind, Jeremy!
This is totally cool! APPLAUSE!
August 7th, 2005 at 11:38 am
Very good. I shall be following this one for sure.
Looks good eh
August 7th, 2005 at 2:22 pm
i like it, very cool! with a summary below… o0-)
really great thing! APPLAUSE louder!
August 8th, 2005 at 12:44 am
Thank you guys, I’m glad you all like it.
August 8th, 2005 at 2:01 am
[...] —-Linknotes:1 linknotes plugin—- [...]
August 8th, 2005 at 2:43 am
Good Morning Jeremy, where can I download linknotes from?
I would like to give it a try on my blog please.
cheers
August 8th, 2005 at 2:46 am
Doh well it is early, I just spotted the down load link. cheers for that Jeremy. I just need to wake up!
August 8th, 2005 at 2:50 am
Haha, well, I just updated the plugin, so make sure you have the latest version. Now all I need to do is go to bed.
August 8th, 2005 at 4:52 am
“The requested URL /files/linknotes/wp-linknotes_v0_2.phps was not found on this server.”
The link to the updated version appears to be down
August 8th, 2005 at 10:12 am
[...] WP plugin: LinkNotes Produce footnotes in Wordpress blogs. EDIT: The link to the original plugin is here: http://jeremycurry.com/archives/2005/08/07/linknotes/ (Visited 261 times) [...]
August 8th, 2005 at 10:49 am
For v0.2, it looks as if the correct address is /files/linknotes/wp-linknotes_v0_2..phps, with an extra . in the address (as of this posting). HTH.
August 8th, 2005 at 10:54 am
[...] And lo, the Universe served up one Jeremy Curry, who created the plugin WP-Linknotes. Moose tried it, and said It Was Good. [...]
August 8th, 2005 at 10:55 am
This is so great! I immediately added this as a quick tag. You’ve hit the sweet spot of functionality wrapped in elegance.
August 8th, 2005 at 11:21 am
Tom And Mike: I fixed the file, you should be able to download it fine.
August 8th, 2005 at 11:30 am
Servant - excuse my ignorance, but how did you add this as a quicktag?
Cheers,
Tom
August 8th, 2005 at 11:39 am
[...] Para los que tienen blogs que necesitan de referencias a pie de página -muy usuales en el entorno académico- seguramente Linknotes será un plugin para Wordpress que les resultará muy útil. Sólo tienen que dar un formato particular a la frase y se insertará de manera inmediata una llamada al pie del artículo, como es usual en los procesadores de texto (visto originalmente en Weblog Tools Collection). [...]
August 8th, 2005 at 11:56 am
[...] Through Craig’s site I came across a plugin which allows you to make links in your blog posts appear like footnotes - the plugin is called Linknotes and was coded by Jeremy Curry. [...]
August 8th, 2005 at 12:11 pm
[...] —-Linknotes:1 Specificially, linknotes—- [...]
August 8th, 2005 at 12:30 pm
Servant,
never mind - I found Podz article on how to make Quicktags here - http://www.tamba2.org.uk/wordpress/quicktags/ and did it myself.
Great idea, thanks.
August 8th, 2005 at 1:51 pm
Cheers jeremy. i did have v0.1
now got v 0.3
cheers
August 8th, 2005 at 1:53 pm
[...] Thanks to Weblog Tools Collection for pointing this out to me. There is a new plugin out that allows footnotes for blog postings. I think this could be really useful. Nuclear Moose was looking for a plugin to have footnotes, and shortly afterwards Jeremy Curry had one ready for him. From Jeremy Curry: I was reading Nuclear Moose and I read this heading “Plugin Wanted” (for WordPress , as I had imagined) and opened it up, to see what he was looking for, just to see if it was anything neat. [...]
August 8th, 2005 at 2:26 pm
Annotating your posts
One of the great things about blogs is that you can link to other people’s sites and make reference to your sources.
<!–adsense#text1–>
One of the annoying things about blogs is that people link to other people’s sites and make r…
August 8th, 2005 at 4:15 pm
[...] Este plugin[1] mola Linknotes:1 Linknotes - Plugin para Wordpress [...]
August 8th, 2005 at 5:19 pm
Wow. Love how you made the quick tag MUCH better than the one I hacked. For v.0.4 can you add a small ice cube crusher and remote TV channel changer? Keep up the great work!
August 8th, 2005 at 5:36 pm
Wow, thats totally what I was going to do next! But I was thinking the Ice Cream machine would have to come first!
BUT, there are problems with the Mac Firefox I hear… Anyone else having problems with that?
August 8th, 2005 at 8:50 pm
[...] We’ll see if I ever use this.Linknotes:1 Linknotes - A cool new Wordpress plug-in. [...]
August 9th, 2005 at 4:39 am
how to make linknote link to open in new window?. thanks for the great plugin
August 9th, 2005 at 5:04 am
I adore this plugin… this is so long overdue, and so welcome. thank you!!!
I have a thought:
adding footlinks to a post i found that more than once i wanted to be able to add a footnote where no web link was associated with the note.
seems like idea:”idea(just being silly or technical)”: should work, but it doesn’t seem to.
August 9th, 2005 at 7:31 am
hi jeremy, thanks a lot for this very usefull plugin. i try to make it work like on your website, but i can’t. the link notes stay at my blog in a p class and not like yours in a alt class. do you maybe know why?
cheers,
philippe
August 9th, 2005 at 7:40 am
hi jeremy, it’s working, excuse me, i didn’t see the new quicktag in the admin interface. sorry,
cheers,
philippe
August 9th, 2005 at 11:49 am
[...] 3The download page for Linknotes [...]
August 9th, 2005 at 12:00 pm
very cool tool~~ using it
August 9th, 2005 at 12:02 pm
[...] Linknotes:1 Jeremy’s blog [...]
August 9th, 2005 at 2:45 pm
Yes, I agree this is very cool. Thanks for the linkback.
I was wondering how you got some text to be linked and some not, and now I see that’s part of the syntax. Interesting…
August 9th, 2005 at 2:58 pm
Yea, I guess thats the only thing that gives this the upper hand :S Anyways, I still like playing around with this. Plus, I’m continually making it more customizable…..
August 10th, 2005 at 5:37 pm
[...] Wow, lots of interesting conversation over at Tom’s article on the linknotes plugin. Whether you use linknotes, or not is all a matter of taste, and what the links purpose is. How do you use links, and what for? [...]
August 11th, 2005 at 7:48 am
As you already know Jeremy, I am using it at my blog: http://www.kinkistyle.com
The changes you made to ver.0.5 really tie things up nicely. They were changes I was planning on making anyway (ordered lists and such).
Great work! Its a super-convenient plugin.
August 12th, 2005 at 7:07 am
[...] [...]
August 12th, 2005 at 8:39 am
Is there a way to make the footnote link actually scroll the page down to the footnote itself? The reader could then click the footnote link to read the linked content (and the return arrows at the end of the footnotes would make more sense).
August 12th, 2005 at 1:38 pm
Ummm, what browser are you using? In all browsers I have tested it does this, but it uses Javascript to do it. I’ll make some changes I guess, but I’m terribly busy today
August 12th, 2005 at 4:51 pm
[...] [...]
August 12th, 2005 at 4:52 pm
[...] [...]
August 13th, 2005 at 1:58 pm
great plugin, thanks!
August 15th, 2005 at 6:09 pm
[...] prova di “linknotes”:http://jeremycurry.com/archives/2005/08/07/linknotes/ e footnose Write Something Here[1] Linknotes: [...]
August 16th, 2005 at 10:15 am
[...] Eseguito l’aggiornamento a WP 1.5.2. Sembrerebbe tutto bene. Anche se non riesco a sistemare nessuno dei temi che più mi piacciono e.soprattutto, il plugin “linknotes” mi manda il tutto a puttane [...]
August 16th, 2005 at 8:14 pm
Jeremy, thanks for the plugin and the offer of help. However, I think it was an issue related to an unpublished post. Everything seems to be working fine now.
August 17th, 2005 at 2:01 pm
the plugin doesn’t work for me,
when i try the example, it doesn’t do anything just spits out the example text
August 17th, 2005 at 3:47 pm
You’ve enabled the plugin? Well, it probably conflicts with another plugin you have, that may change the special characters into html entities before it gets to using linknotes. But I couldn’t be sure.
Try installing a fresh copy of WP in a new folder, for testing purposes. Start off by installing Linknotes, and enabling it, then go through the rest of your plugins one by one and enabling them, and see if any of them stop it from functioning.
August 20th, 2005 at 7:38 am
Linknotes looks great. There’s a feature I’d like that might sound a bit nutty for a blog … but I’d like very much to have the footnotes/linknotes capability AND a bibliography capability that would show the list of cited sources after the footnotes. I know it sounds like a bit much, but it would be great to see that in a plugin or in two plugins that work together.
I’ve been looking around but haven’t found anything like that yet. Maybe there’s an obvious answer that I’m missing.
September 1st, 2005 at 2:01 pm
[...] [...]
September 1st, 2005 at 2:13 pm
thank you for this plugin..it’s great!
September 1st, 2005 at 6:11 pm
Dang! I gotta install the update, Jeremy! I just saw it in action on Chris J. Davis’ site…very nice!
September 1st, 2005 at 6:53 pm
I can’t get it to work. I’ve activated it, but I don’t know exactly what code to type in or what to do. I also don’t know how to make a quick tag button appear on my toolbar.
Any help would be appreciated: I’d really like to be able to use this features.
Thanks.
September 7th, 2005 at 10:15 am
The links to the footnotes are relative to the URI it’s being viewed at. So when an entry is being read on the frontpage, the link to a specific footnote will break as soon as the entry is pushed off of the frontpage
September 7th, 2005 at 1:13 pm
[...] So anyway, Chris sent me a link to the plugin he uses, Linknotes, and so far I’ve only used it in one post. [...]
September 7th, 2005 at 4:14 pm
[...] WOW, you should see the hits I’m getting from Binary Bonsai…. Well, I’m committed to seeing alot of changes for Linknotes through, with all the ideas floating around, both mine and others. Its just not easy to find time right now, with the end of the holidays, school starting, and everything else. I promise to get work on it when I can. If you have any ideas or suggestions of your own, contact me,or leave a comment. [...]
September 11th, 2005 at 11:45 am
[...] Linknotes? [...]
September 12th, 2005 at 7:44 am
[...] Linknotes: Interessanter Linkansatz mit Fussnotensammlung der Links. Einsatzgebiet noch nicht genau definiert. [...]
September 13th, 2005 at 1:52 pm
Suggestion for Linknotes users:
Create a CSS style in your theme’s “style.css” and assign formatting for the way you’d link your linknotes to look at the end of each post. Then go into wp-linknotes.php and change line 41 to:
$lnCfg['notes_code'] = ‘Linknotes:%items%’;
This way you can customize the way the linknotes look at the end of each post to fit with your theme.
Hope this helps.
September 14th, 2005 at 6:17 am
I wonder if someone could build a bibliography function into a footnotes plugin. Perhaps along with the footnote a window would pop up that would offer the ability to enter a line with the name of author/editor, book or magazine article title, publisher, date of publication, etc. The cited works would then show up in a special section that would follow after the footnotes, just like in scholarly articles or books. EndNotes.
I am currently working on some blog posts about Middle Eastern Studies topics and anyone who could help me to create this kind of post format would have my undying gratitude. I think in time many others would greatly appreciate it as well.
September 22nd, 2005 at 3:17 am
[...] including, obviously, Jeremy Curry’s linknotes footnote plugin. some comments suggest that relative links will break this code, but we’ll see. ↩ [...]
October 24th, 2005 at 11:22 am
[...] Derudover har jeg installeret Wordpress Plugin’et Linknotes, et plugin til at lave fodnoter i et indlæg, så må vi se hvor meget jeg får brugt det.
[...]
November 1st, 2005 at 5:56 pm
Just installed this, tested it a couple of times and it’s perfect!
November 5th, 2005 at 1:43 pm
[...] Uma boa sugestão do Ivo: Links em artigos impressos. Já implementei no meu novo tema (Blocks) que poderão ver de novo dentro em breve. O código que permite fazer uma lista de todos os links contidos num determinado post, para que sejam visiveis aquando da sua impressão, é bem mais útil do que este LinkNotes, que existe sob a forma de plugin para o Wordpress. [...]
November 5th, 2005 at 9:08 pm
Hello, I want a plugin LIKE THIS EXCEPT it would make automatic footnotes of all hyperlinks in a post where the footnote would be the actual URL with the http://www typed out.
The reason?
So that on my “Print” CSS view, if a person actually prints a post, there will be footnotes with READABLE links that can be typed into a browser, not Hyperlinks on underlined words where the address is hidden.
Could you make this for me? Please email me if possible.
November 12th, 2005 at 12:17 pm
[...] Já tinha visto esta cena no Binary Bonsai à algum tempo mas nunca me dei ao “trabalho” de instalar[1] Mas hoje lá ganhei coragem e fiz o que tinha a fazer. E aqui está o post obrigatório para testar a cena :p Linknotes: [...]
December 10th, 2005 at 11:17 am
I tried it, but it doesn’t work together with my Textile 2.5 Plugin. If I deactivate textile it works. Is there a way to get both work together (Textile is a cool plugin, but it breaks so much other plugins, this is terrible.)
December 26th, 2005 at 9:18 pm
Just upgraded WordPress to 2.0 and the LinkNotes plugin works perfect–no glitches. Thanks!
February 12th, 2006 at 4:17 pm
What a great and simple plug-in!
I´ve got a question though… I want to make the links smallcaps instead of superscript. Where do I change it?
February 26th, 2006 at 5:47 pm
t h i s is great,
easiest installation
works fine!
on WP 2.01
Thanks!
February 26th, 2006 at 11:07 pm
I have a problem with the html format breaking in the rest of the post after a linknote.
See expample: http://nmallory.exit-23.net/20060221/the-outsourcing-of-national-security#more-669
How can I fix this?
I am using the latest Wordpress and the latest version of this plugin.
March 22nd, 2006 at 10:13 am
Works in 2.0.2 — but the link back to the test is ↩ (a square). Can anyone tell me an easy way to replace it with “Back” or an up arrow?
March 23rd, 2006 at 4:04 pm
Actually (to continue), it’s a square in Internet Explorer, but a less-than-clear up arrow in my version of Firefox. Can no one point me to where I could hack this? I can’t find the code (&-#-8-6-1-7) in Linknotes PHP. I’d think “Back” would be a clear replacement link. I just need to know where to put it.
March 24th, 2006 at 2:11 pm
Uh oh. Now I see the numbers in the (bottom) linknotes don’t show up in IE either (they’re fine in Firefox)>
June 5th, 2006 at 1:57 pm
[...] For those of us who use Wordpress an easy way to do this is with a great plugin called Linknotes - by Jeremy Curry. [...]
June 14th, 2006 at 6:55 pm
[...] [ ] Aside - checked out two solutions to a blogging-with-footnotes (not bibliography) discussion focused around a Wordpress plugin - Jeremy Curry’s Linknotes and Owen Winkler’s Link Footnotes. [...]
June 22nd, 2006 at 4:30 am
Could this plugin allow the option of using a MediaWiki- / Wikipedia-like syntax? So that footnotes could be written in square brackets alone for a regular numbered footnote, and in square brackets with a space after the URL for a footnote with text?
So to make a regular footnote with just the URL you could do this[http://google.com]
And to make a footnote with the URL and a text description you’d do this[http://google.com Google]
Please note that with this syntax no colons or double-quotes are required. But, also this syntax only allows for a URL as the first part of the footnote, since it will necessarily contain no spaces.
Alternatively, you could delimit the footnote and text with a pipe symbol: “|”. That way anything you like that doesn’t contain a pipe could be in either part of the footnote. And, again, no colon or double quotes are required.
June 22nd, 2006 at 8:36 pm
Hey, That sounds like a great Idea! I’ll be sure to implement that as soon as time permits.
July 31st, 2006 at 12:52 am
Looks great. Any chance that you are going to build a footnoting feature into post functionality?
August 25th, 2006 at 11:15 am
Just a quick note. I’m experimenting with linknotes on my website and find them really useful to include linked references in my footnotes. The other plugin I considered was ‘Footnotes’ by Simon Every at http://www.elvery.net/drzax/ (but this doesn’t include links =(
I haven’t read through the other ten pages of 79 comments above, but when you use the plugin, you cannot enter extra parantheses within your footnote as the plugin mis-interprets these. You’d have to use html character equivalents.
Cheers for the effort Jeremy. Appreciated.
October 29th, 2006 at 9:29 pm
Would be great if this only parsed the notes on if_single() pages. I got it to work so that the notes were only parsed on single pages easily enough, but the note syntax was still in the post on home, archives, and categories.
Is there a way to just strip out the code from places such as that and only show the notes in any way on single pages?
December 12th, 2006 at 3:50 pm
What I want to do on my blog, is every few hours take the oldest post and move it to the
front of the queue, all automatically. Anyone know if there is a plugin that can do this or
a simple way to set up another plugin to do this (use my own feed perhaps)?
Thanks.
December 12th, 2006 at 11:47 pm
Thanks for the heads up. As a graphic artist helping clients to create blog websites I often run into the trouble with links being too obtrusive. I’ve tried various strategies but none as simplistic as this one. I don’t want something that makes the page “too busy”. Just something that will get the job done. The website graphics I placed behind the clickbank or adsense ads attract attention to them on that side but my clients don’t want to over do it in the content area.
GrafxExtreme.com
December 18th, 2006 at 6:37 am
Hey - thanks for your work, that was something i was always looking for. My daughter showed me your site and the pluging - gr8.
January 12th, 2007 at 8:59 am
Quite a useful plugin offered.
February 24th, 2007 at 11:38 am
[...] tai sitten ei linkkejä laisinkaan. Toisaalta pidin Jeremy Curryn Linknotes-liitännäisen3 ideasta lisätä viitteiden perään ¶-merkki (¶), joka toimi paluuviitteenätakaisin leipätekstin siihen kohtaan, jossa alaviitteeseen linkattiin. Niinpä jäljensin sen omaan liitännäiseeni. [...]
March 23rd, 2007 at 11:54 am
Here are some insane suggestions:
allow footnotes for footnotes
allow footnotes for comments
I know most people might not use it, but at least open it up and see what happens !
April 22nd, 2007 at 6:05 am
[...] Linknotes Add Linknotes (hyper-linked footnotes) to your posts. [...]
April 22nd, 2007 at 8:35 am
hi jeremy, thanks a bunch for your nice plugin - appears on my “most wanted” list
cheers,
michael
April 24th, 2007 at 11:46 pm
Thank you, this is awesome. I couldn’t find the link to download the other one you mentioned in your update, but this one looks like it will work for me.
I did notice, however, that you can’t use parenthesis in your footnotes or they don’t work. But that’s okay, I’ll just use brackets.
April 26th, 2007 at 6:00 pm
Hmm, now my site doesn’t validate. When I deactivate the plugin, it validates. With it activated, I get 30 errors. Could this be that I’m using the plugin wrong, or that it doesn’t work well with one of my other plugins? (I know it doesn’t work nicely with my “inline more” plugin—the linknotes still show below the “show more” tag.)
Just wondering if there’s an easy fix, or if I need to look for something else. It doesn’t look like this plugin has been updated in a few years, actually… maybe it doesn’t work with WP 2.0?
June 18th, 2007 at 6:14 pm
Check with validator about the errors and fix them by changing the code of the plugin. Or are you a user with no programming skills? But by knowing about validation errors i think you have knowledge.
Personally i dont mind about not validated sites and most of my wp blogs got 50 and more. I never experienced any negative about them.
Just my 5 cents
June 20th, 2007 at 5:30 pm
Hey, that was exactly what i was looking for - great! When explaining special things its very helpful to have such a handy plugin to explain even more.
October 29th, 2007 at 5:50 pm
[...] poco da dire, è un plugin che fa-tutto-lui. Da segnalare anche questo (ma lo sviluppo sembra fermo da tempo) e questo per markdown. Svantaggi: l’autore segnala [...]