Re: Question about the localhost

"Thomas Feldman" <[email protected]> Fri, 6 Feb 2009 15:37:45 +0100
Newsgroups gmane.comp.cms.jahia.template
Message-ID <[email protected]>
This is a multi-part message in MIME format.

--===============1480448918==
Content-class: urn:content-classes:message
Content-Type: multipart/alternative;
	boundary="----_=_NextPart_001_01C98868.7A4DECFA"

This is a multi-part message in MIME format.

------_=_NextPart_001_01C98868.7A4DECFA
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

OK, thank you for this.

I will check what I can do.

=20

Thomas Feldman
Chef de projet  technique -Technical Project Manager
____________________________________________________________

Duke - A Razorfish Company
86-90, rue Notre Dame de Nazareth
75003 Paris - France
T : +33 (0)1 53 44 17 19

mailto:[email protected]
http://www.duke-interactive.com
____________________________________________________________

If emails save time, not printing them saves trees

=20

De : [email protected] =
[mailto:[email protected]] De la part de Benjamin Papez
Envoy=E9 : vendredi 6 f=E9vrier 2009 14:33
=C0 : Any questions regarding template development and/or about the =
taglibsextension
Objet : Re: [template_list] Question about the localhost

=20

Hello Thomas,

Jahia is used for dynamic web pages rather than static ones. That means =
that the pages are rendered depending on the logged user, you can have =
interactive portlets or paginate through large lists, display =
queried/filtered lists, use searches based on our Lucene index etc.=20

Although we are creating pages dynamically we can anyway serve them =
pretty fast as we are internally caching the HTML fragments of the =
pages, which can be re-used for different user groups, and according to =
cache configuration you could also externalize these fragments to disk, =
but they are not the entire pages.

A possible way to do it is to issue wget or use another crawler tool, =
which will fetch all the pages and save them as HTML files.

Regards,
Benjamin

Thomas Feldman wrote:=20

Hello,

=20

I have a project which is the following:

-use Jahia as CMS for editing/creating content

-get backed .html files

-parse them to get the content

=20

So far, I can create content with tags through the Jahia templates.

What I don't know how to do is to get resulting .html pages. How do I =
get them, do they exist?

Is there a way to parameter the path where the templates results are =
exported?


Thanks

=20

Thomas Feldman
Chef de projet  technique -Technical Project Manager
____________________________________________________________

Duke - A Razorfish Company
86-90, rue Notre Dame de Nazareth
75003 Paris - France
T : +33 (0)1 53 44 17 19

mailto:[email protected]
http://www.duke-interactive.com
____________________________________________________________

If emails save time, not printing them saves trees

=20

=20


________________________________



=20
_______________________________________________
template_list mailing list
[email protected]
http://lists.jahia.org/cgi-bin/mailman/listinfo/template_list
 =20

=20


------_=_NextPart_001_01C98868.7A4DECFA
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<html xmlns:v=3D"urn:schemas-microsoft-com:vml" =
xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" =
xmlns=3D"http://www.w3.org/TR/REC-html40">

<head>

<meta name=3DGenerator content=3D"Microsoft Word 12 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<style>
<!--
 /* Font Definitions */
 @font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
	{font-family:Consolas;
	panose-1:2 11 6 9 2 2 4 3 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0cm;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri","sans-serif";
	color:black;}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
pre
	{mso-style-priority:99;
	mso-style-link:"Pr=E9format=E9 HTML Car";
	margin:0cm;
	margin-bottom:.0001pt;
	font-size:10.0pt;
	font-family:"Courier New";
	color:black;}
span.EmailStyle17
	{mso-style-type:personal;
	font-family:"Calibri","sans-serif";
	color:windowtext;}
span.PrformatHTMLCar
	{mso-style-name:"Pr=E9format=E9 HTML Car";
	mso-style-priority:99;
	mso-style-link:"Pr=E9format=E9 HTML";
	font-family:Consolas;
	color:black;}
span.EmailStyle20
	{mso-style-type:personal-reply;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-size:10.0pt;}
@page Section1
	{size:612.0pt 792.0pt;
	margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.Section1
	{page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext=3D"edit">
  <o:idmap v:ext=3D"edit" data=3D"1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body bgcolor=3Dwhite lang=3DFR link=3Dblue vlink=3Dpurple>

<div class=3DSection1>

<p class=3DMsoNormal><span lang=3DEN-US style=3D'color:#1F497D'>OK, =
thank you for
this.<o:p></o:p></span></p>

<p class=3DMsoNormal><span lang=3DEN-US style=3D'color:#1F497D'>I will =
check what I
can do.<o:p></o:p></span></p>

<p class=3DMsoNormal><span lang=3DEN-US =
style=3D'color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<div>

<p class=3DMsoNormal style=3D'margin-top:6.0pt'><b><span =
style=3D'font-size:10.0pt;
color:#1F497D'>Thomas Feldman<br>
</span></b><span style=3D'font-size:10.0pt;color:#1F497D'>Chef de =
projet=A0
technique -Technical Project Manager<br>
____________________________________________________________<o:p></o:p></=
span></p>

<p class=3DMsoNormal style=3D'margin-top:6.0pt'><b><span =
style=3D'font-size:10.0pt;
color:#1F497D'>Duke - A Razorfish Company</span></b><span =
style=3D'font-size:
10.0pt;color:#1F497D'><br>
86-90, rue Notre Dame de Nazareth<br>
75003 Paris - France<br>
T : +33 (0)1 53 44 17 19<o:p></o:p></span></p>

<p class=3DMsoNormal style=3D'margin-top:6.0pt'><span =
style=3D'font-size:10.0pt;
color:#1F497D'><a =
href=3D"mailto:[email protected]">mailto:thomas.feldman=
@duke-interactive.com</a><br>
<a =
href=3D"http://www.duke-interactive.com">http://www.duke-interactive.com<=
/a><br>
____________________________________________________________<o:p></o:p></=
span></p>

<p class=3DMsoNormal =
style=3D'margin-top:6.0pt;mso-margin-bottom-alt:auto'><span
lang=3DEN-GB style=3D'font-size:10.0pt;color:#1F497D'>If emails save =
time, not
printing them saves trees</span><span lang=3DEN-US =
style=3D'color:#1F497D'><o:p></o:p></span></p>

</div>

<p class=3DMsoNormal><span lang=3DEN-US =
style=3D'color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<div>

<div style=3D'border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt =
0cm 0cm 0cm'>

<p class=3DMsoNormal><b><span =
style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:windowtext'>De&nbsp;:</span></b><span =
style=3D'font-size:10.0pt;font-family:
"Tahoma","sans-serif";color:windowtext'> [email protected]
[mailto:[email protected]] <b>De la part de</b> Benjamin =
Papez<br>
<b>Envoy=E9&nbsp;:</b> vendredi 6 f=E9vrier 2009 14:33<br>
<b>=C0&nbsp;:</b> Any questions regarding template development and/or =
about the
taglibsextension<br>
<b>Objet&nbsp;:</b> Re: [template_list] Question about the =
localhost<o:p></o:p></span></p>

</div>

</div>

<p class=3DMsoNormal><o:p>&nbsp;</o:p></p>

<p class=3DMsoNormal>Hello Thomas,<br>
<br>
Jahia is used for dynamic web pages rather than static ones. That means =
that
the pages are rendered depending on the logged user, you can have =
interactive
portlets or paginate through large lists, display queried/filtered =
lists, use
searches based on our Lucene index etc. <br>
<br>
Although we are creating pages dynamically we can anyway serve them =
pretty fast
as we are internally caching the HTML fragments of the pages, which can =
be
re-used for different user groups, and according to cache configuration =
you
could also externalize these fragments to disk, but they are not the =
entire
pages.<br>
<br>
A possible way to do it is to issue wget or use another crawler tool, =
which
will fetch all the pages and save them as HTML files.<br>
<br>
Regards,<br>
Benjamin<br>
<br>
Thomas Feldman wrote: <o:p></o:p></p>

<p class=3DMsoNormal>Hello,<o:p></o:p></p>

<p class=3DMsoNormal>&nbsp;<o:p></o:p></p>

<p class=3DMsoNormal><span lang=3DEN-US>I have a project which is the =
following:</span><o:p></o:p></p>

<p class=3DMsoNormal><span lang=3DEN-US>-use Jahia as CMS for =
editing/creating
content</span><o:p></o:p></p>

<p class=3DMsoNormal><span lang=3DEN-US>-get backed .html =
files</span><o:p></o:p></p>

<p class=3DMsoNormal><span lang=3DEN-US>-parse them to get the =
content</span><o:p></o:p></p>

<p class=3DMsoNormal><span lang=3DEN-US>&nbsp;</span><o:p></o:p></p>

<p class=3DMsoNormal><span lang=3DEN-US>So far, I can create content =
with tags
through the Jahia templates.</span><o:p></o:p></p>

<p class=3DMsoNormal><span lang=3DEN-US>What I don&#8217;t know how to =
do is to get
resulting .html pages. How do I get them, do they =
exist?</span><o:p></o:p></p>

<p class=3DMsoNormal><span lang=3DEN-US>Is there a way to parameter the =
path where
the templates results are exported?</span><o:p></o:p></p>

<p class=3DMsoNormal><span lang=3DEN-US><br>
Thanks</span><o:p></o:p></p>

<p class=3DMsoNormal><span lang=3DEN-US>&nbsp;</span><o:p></o:p></p>

<p class=3DMsoNormal style=3D'margin-top:6.0pt'><b><span =
style=3D'font-size:10.0pt'>Thomas
Feldman<br>
</span></b><span style=3D'font-size:10.0pt'>Chef de projet&nbsp; =
technique
-Technical Project Manager<br>
____________________________________________________________</span><o:p><=
/o:p></p>

<p class=3DMsoNormal style=3D'margin-top:6.0pt'><b><span =
style=3D'font-size:10.0pt'>Duke
- A Razorfish Company</span></b><span style=3D'font-size:10.0pt'><br>
86-90, rue Notre Dame de Nazareth<br>
75003 Paris - France<br>
T : +33 (0)1 53 44 17 19</span><o:p></o:p></p>

<p class=3DMsoNormal style=3D'margin-top:6.0pt'><span =
style=3D'font-size:10.0pt'><a
href=3D"mailto:[email protected]">mailto:thomas.feldman=
@duke-interactive.com</a><br>
<a =
href=3D"http://www.duke-interactive.com">http://www.duke-interactive.com<=
/a><br>
____________________________________________________________</span><o:p><=
/o:p></p>

<p class=3DMsoNormal style=3D'margin-top:6.0pt'><span lang=3DEN-GB =
style=3D'font-size:
10.0pt'>If emails save time, not printing them saves =
trees</span><o:p></o:p></p>

<p class=3DMsoNormal><span lang=3DEN-US>&nbsp;</span><o:p></o:p></p>

<pre><o:p>&nbsp;</o:p></pre><pre style=3D'text-align:center'>

<hr size=3D4 width=3D"90%" align=3Dcenter>

</pre><pre><o:p>&nbsp;</o:p></pre><pre>__________________________________=
_____________<o:p></o:p></pre><pre>template_list mailing =
list<o:p></o:p></pre><pre><a
href=3D"mailto:[email protected]">[email protected]</a><o:p><=
/o:p></pre><pre><a
href=3D"http://lists.jahia.org/cgi-bin/mailman/listinfo/template_list">ht=
tp://lists.jahia.org/cgi-bin/mailman/listinfo/template_list</a><o:p></o:p=
></pre><pre>=A0 <o:p></o:p></pre>

<p class=3DMsoNormal><span style=3D'font-size:12.0pt;font-family:"Times =
New Roman","serif"'><o:p>&nbsp;</o:p></span></p>

</div>

</body>

</html>

------_=_NextPart_001_01C98868.7A4DECFA--

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

_______________________________________________
template_list mailing list
[email protected]
http://lists.jahia.org/cgi-bin/mailman/listinfo/template_list

--===============1480448918==--