embedded-html-in-muse

If you want to insert comments on a webbpage that holds important graphic stuff, just copying and pasting from the the browser into emacs-muse doesn't work. Instead, you can create a frameset with your comments in one frame and the original webbpage in the other frame.

Use the "save complete page" option in your webbrowser, which will create a directory of the needed files besides the page itself, in the example code below the name "original-html" was used as the name for the original page.

Create a frame-holder page with this code. Save the frame-holder page as foo.html

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-15">
<title></title>
</head>
<frameset cols="35%,65%">
   <frame src="comments-on-original.html">
   <frame src="original-html">
</frameset>
</html>

Create a muse-document comments-on-original.muse wherein you add your comments.

Link to the frame-holder page like this from your other muse pages Original with comments

Publish, and the links should now works as expected.

comments powered by Disqus


Back to the index

Blog roll

R-bloggers, Debian Weekly
Valid XHTML 1.0 Strict [Valid RSS] Valid CSS! Emacs Muse Last modified: oktober 17, 2019