<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffcc33" text="#000000">
<br>
<br>
Patrick R. Michaud wrote:
<blockquote cite="mid:20070906175305.GA19546@host.pmichaud.com"
type="cite">
<pre wrap="">On Thu, Sep 06, 2007 at 01:39:48PM -0400, Honglan Jin wrote:
</pre>
<blockquote type="cite">
<pre wrap=""> Hi all,
Is there a way to include a page content in e-mail notification?
We set up e-mail notification when some pages are created/changed
with the page links.
Since wiki is under intranet setting, when we get e-mails, we can't just
click
the link to reach to the pages if we check out e-mail outside intranet.
So we want to include the full page content in e-mail notification.
How can I do this?
</pre>
</blockquote>
<pre wrap=""><!---->
I have a few questions about this (that illustrate why it's
a difficult problem):
1. Are you wanting a full copy of the page for every change that
is made? For example, suppose someone makes a change to a page,
and then does a couple of minor typographical edits. Would
this mean there are three complete copies of the page in the
email that is sent?
</pre>
</blockquote>
The pages that I want to include with full content are newly created
ones.<br>
Once they are created, it's assumed they are not changed or changed
often. <br>
For example, every one in our group is asked to post his/her daily
progress report to our<br>
wiki website. Every such report has its own link (URL) with the link
name based on the date the report is posted . Then we automatically
send the links to the group so that every one follows the link to read
reports.<br>
Sometimes when people are on vacation or work at home, due to intranet
nature of wiki,<br>
they can't check reports. If a report is posted and the author comes
back to edit on it, we <br>
get the notification every time that happens. But we assume that does
not happen often.<br>
<blockquote cite="mid:20070906175305.GA19546@host.pmichaud.com"
type="cite">
<pre wrap="">
2. Do you want the pages' contents to be (a) sent as HTML or
(b) converted to text first? If the contents are to be
sent as HTML, does the entire email need to then become
a properly-formatted HTML document? If the contents are
sent as text, how accurately does it need to represent
the updated page?
</pre>
</blockquote>
The page's content can be either HTML or text. I know there's a
cookbook for converting a page<br>
to pdf, which seems to accurately represent the original content of the
page. My question is how can<br>
I include the converted HTML or text or pdf page content to the
notification e-mail?<br>
With regard to how the page content is translated to HTML or extract a
segment of text<br>
from the page, is there a way we can do this?<br>
<br>
<blockquote cite="mid:20070906175305.GA19546@host.pmichaud.com"
type="cite">
<pre wrap="">Pm
</pre>
</blockquote>
</body>
</html>