Re: How to publish the literal "<<" or ">>" with planner-calendar-prev-date-href-from-page?

Michael Olson <[email protected]> Thu, 21 Sep 2006 09:30:02 -0400
Newsgroups gmane.emacs.wiki.general
Message-ID <[email protected]>
--===============2108794016==
Content-Type: multipart/signed; boundary="=-=-=";
	micalg=pgp-sha1; protocol="application/pgp-signature"

--=-=-=
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

"=E8=B5=B5=E9=9B=B7" <[email protected]> writes:

> Hi there,
>
> I want use "<<" and ">>" as "prev" and "next" link in my planner
> published pages.
>
> The code in my header.html is:
> <lisp>
>  ;; insert pre day link when in Planner mode
>  (let ((page (planner-page-name)))
>   (when (and page (string-match planner-date-regexp page))
>    (planner-calendar-prev-date-href-from-page "<<")))
> </lisp>
> <lisp>(muse-wiki-publish-pretty-title)</lisp>
> <lisp>
>  ;; insert next day link when in Planner mode
>  (let ((page (planner-page-name)))
>   (when (and page (string-match planner-date-regexp page))
>    (planner-calendar-next-date-href-from-page ">>")))
> </lisp>=09
>
> But after it is published, "<<" is converted to html-encoded
> "&lt;&lt;". What should I do to let muse publish it as original "<<"?

If you're using the development version of Muse, try <lisp
markup=3D"nil"> instead of <lisp>.

=2D-=20
Michael Olson -- FSF Associate Member #652 -- http://www.mwolson.org/
Interests: Emacs Lisp, text markup, protocols -- Jabber: mwolson_at_hcoop.n=
et
  /` |\ | | | IRC: freenode.net/mwolson: #emacs, #hcoop, #muse, #PurdueLUG
 |_] | \| |_| Projects: Emacs, Muse, ERC, EMMS, Planner, ErBot, DVC

--=-=-=
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)

iD8DBQFFEpPd+1Ho2POo0xkRAmwiAJ40KMsbcpKURHtALJBJlzNNijxnNgCeK1rS
zWHY5bRvUit6Jowx78fNnr4=
=ufJs
-----END PGP SIGNATURE-----
--=-=-=--



--===============2108794016==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
emacs-wiki-discuss mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/emacs-wiki-discuss

--===============2108794016==--