wiki - PHP automatic footnote and endnote generator -
this more of general information question involving endnotes "check code" one. that's because can find no (useful) information on subject , don't have skills create myself. still think it's useful create general brainstorm session / forum thread on net this.
the issue: i've written 60 articles, dozen of them book-length or near book-length on site has been manually designed html5, css3, jquery , php - latter 2 pre-existing code. i'm happy except 1 thing: endnotes! takes forever update them.
an average article has 120 endnotes (up 550). happens frequently, during writing/proofreading process, need add more information or want additional endnote. means anywhere 2 30 minutes of copy-pasting "[113]s", "[114]s" around. it's hopelessly inefficient.
ordinarily dislike uninspirational wiki cms platforms, have 1 huge benefit: cite.php
plugins. one:
once have this, put url between <ref> </ref>
, endnotes gets automatically generated below {{reflist}}
tag. it's explained here:
https://en.wikipedia.org/wiki/help:footnotes
footnotes created using cite.php software extension. extension adds html-like elements
<ref>...</ref>
,<references />
,<references>...</references>
. elements used in number of templates; example, becoming more common use {{reflist}} rather<references />
can style reference list.
i've checked out plugin , it, of course, more few lines of php.
my main question if aware if type of code has been created custom designed websites. or if has idea how program manually? if it's not hard, might try myself in near future or hire programmer.
p.s. did study html5 solutions endnotes in past. can't remember details, terrible. it's crucial have 1 type of tag, each 1 generating new automatic endnote.
{{ }}
not standard html tags, in modern mvc frameworks used replacement php syntax echo $foodnote
same {{ $foodnote }}
.
a mvc framework laravel use part of blade template.
but in provided link have in question, {{reflist}}
referring content inside tags <ref>content of reference</ref>
.
the provided cite.php
helper file parsing content inside tags <ref>...</ref>
variable reflist
inside curly braces same content.
it should not difficult program such thing.
Comments
Post a Comment