|
List Info
Thread: Publishing issue
|
|
| Publishing issue |

|
2006-07-28 07:23:57 |
HI:
i am kinda new to this one. i want to publish a page but
not the whole of
the page (which include by default apache logo, menu on
left, body of page
and footer) . All i want is that all my new addition to a
newly created
document in KUPU editor should only and only be publish.
means a i want to
publish my document EXCEPT menus,header logo and
footer(which are included
by default). only content of my document should be
published, any one can
tell me how can i do that
thanks
--
View this message in context: http://www.nabble.com/Publishing-issue-tf2013926.h
tml#a5534874
Sent from the Lenya - Dev forum at Nabble.com.
------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribe lenya.apache.org
For additional commands, e-mail: dev-help lenya.apache.org
|
|
| Publishing issue |

|
2006-07-28 07:50:03 |
|
Hi Jay
you'll have to make change in each of XSLT corresponding to your document, like page2xhtml.xslt, in which you can ommit these stuffs or can give your own images and all, so try to find the xlt used by ur document you can find it in publication_sitemap.xmap
bhavya
-- Thank you, Bhavya Sharma
|
| Publishing issue |

|
2006-07-28 07:48:22 |
Jay wrote:
> HI:
> i am kinda new to this one. i want to publish a page
but not the whole of
> the page (which include by default apache logo, menu on
left, body of page
> and footer) . All i want is that all my new addition to
a newly created
> document in KUPU editor should only and only be
publish. means a i want to
> publish my document EXCEPT menus,header logo and
footer(which are included
> by default). only content of my document should be
published, any one can
> tell me how can i do that
You have to setup some alternative pipelines in your
publication sitemap,
which match for a different extension, for instance
/foo/bar.plain.html
and don't include the menu, footer etc. in the aggregation.
You have to rewrite the links accordingly.
Be careful to use a dot as separator, so the document ID is
recognized
correctly.
If you don't want the "traditional" view at
all, you can just remove the
navigation elements from the aggregation and change the
XSLTs accordingly.
-- Andreas
--
Andreas Hartmann
Wyona Inc. - Open Source Content Management - Apache
Lenya
http://www.wyona.com
http://lenya.apache.org
andreas.hartmann wyona.com andreas apache.org
------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribe lenya.apache.org
For additional commands, e-mail: dev-help lenya.apache.org
|
|
| Publishing issue |

|
2006-07-28 09:50:17 |
thanks Bhavya and Andreas. i have disabled the following
line
from publication-sitemap
<map:aggregate element="cmsbody">
<map:part
src="cocoon://navigation///map/.xml"/&g
t;
<!-- <map:part
src="cocoon://navigation///breadcrumb/.xml&q
uot;/> -->
<!-- <map:part
src="cocoon://navigation///tabs/.xml"/&
gt; -->
<!-- <map:part
src="cocoon://navigation///menu/.xml"/&
gt; -->
<!-- <map:part
src="cocoon://navigation///search/.xml"
/>
<map:part
src="cocoon:/lenya-document-///{page-envelope
:document-path}"/>
</map:aggregate>
but this resulted in other way. menus, search etc etc
vanished from
inside lenya also, i want get rid of these object in my
published document
only, suppose i hav created a new doc named 'MyDoc' in
default
publication, can u specify the new pipeline which i should
add in
publication-sitemap to achieve my objects. thanks u very
much
--
View this message in context: http://www.nabble.com/Publishing-issue-tf2013926.h
tml#a5536642
Sent from the Lenya - Dev forum at Nabble.com.
------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribe lenya.apache.org
For additional commands, e-mail: dev-help lenya.apache.org
|
|
| Publishing issue |

|
2006-07-28 10:03:21 |
|
Hi Jay, try to create following pipeline in publication_sitemap.xmap and before the lenyabody pipeline , i am sure , its gonna to help you , as i have aleready done some time before lenya's main pipeline as you can see its a normal thing that i thinh you have done in Coccon
<map:match pattern="**/**">
<map:match pattern="**/yourpage.html">
<map:generate src="your.xml"/> <map:transform src="yourl.xsl
"> <map:serialize type="xml"/> </map:match>
On 7/28/06, Jay <yahoo.com">
jabirfayyaz yahoo.com> wrote: thanks Bhavya and Andreas. i have disabled the following line
from publication-sitemap
<map:aggregate element="cmsbody">
<map:part src="cocoon://navigation/{2}//map/{5}.xml"/>
<!-- <map:part src="cocoon://navigation///breadcrumb/.xml"/> -->
<!-- <map:part src="cocoon://navigation/{2}//tabs/.xml"/> --> <!-- <map:part src="cocoon://navigation///menu/{5}.xml"/> --> <!-- <map:part
src="cocoon://navigation///search/.xml"/> <map:part src="cocoon:/lenya-document-/{3}//{page-envelope:document-path}"/> </map:aggregate>
but this resulted in other way. menus, search etc etc vanished from inside lenya also, i want get rid of these object in my published document only, suppose i hav created a new doc named 'MyDoc' in default publication, can u specify the new pipeline which i should add in
publication-sitemap to achieve my objects. thanks u very much -- View this message in context: http://www.nabble.com/Publishing-issue-tf2013926.html#a5536642
Sent from the Lenya - Dev forum at Nabble.com.
--------------------------------------------------------------------- To unsubscribe, e-mail: lenya.apache.org">
dev-unsubscribe lenya.apache.org For additional commands, e-mail: lenya.apache.org">dev-help lenya.apache.org
-- Thank you, Bhavya Sharma
|
| Publishing issue |

|
2006-07-28 10:37:41 |
well tht works little bit Bhavya, thanks again for helping.
now with your
mentioned pipeline, my newly created document is transformed
with my jay.xsl
file, it removed default header+footer+menu. Now how can i
publish this doc
as all the menus are gone?????. my objective is to get final
published
document without menu+header+footer after editing it in Kupu
while keeping
everything intact before publishing.
--
View this message in context: http://www.nabble.com/Publishing-issue-tf2013926.h
tml#a5537206
Sent from the Lenya - Dev forum at Nabble.com.
------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribe lenya.apache.org
For additional commands, e-mail: dev-help lenya.apache.org
|
|
| Publishing issue |

|
2006-07-28 10:43:36 |
|
Hi Jay, can you describe me in more details, as i could'nt get it properly Bhavya
-- Thank you, Bhavya Sharma
|
| Publishing issue |

|
2006-07-28 11:01:57 |
Ok let me explain in detail. i am creating a document in
lenya and doing some
sort of editing in KUPU editor as well. thats the most
easiest part ever in
my Lenya Life
Now we can publish our documents with
'workflow->publish'
this creates and html file with apache logo on it,menu on
left plus
footer(by default). but i dont want publishing like this. i
only want to
publish what i have edited in KUPU editor. only that part
which i say
content of new document should be published. when i am
viewing my document
in editor view,i should be able to again edit my document
and publish it
again and again, but when i see it in live view nothing
should be displayed
except document (no menu, no logo etc) remember i m only
adding text to my
page with kupu, and only text should be displayed in live
view.
i hope its clear, but if not please do ask me again.
--
View this message in context: http://www.nabble.com/Publishing-issue-tf2013926.h
tml#a5537496
Sent from the Lenya - Dev forum at Nabble.com.
------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribe lenya.apache.org
For additional commands, e-mail: dev-help lenya.apache.org
|
|
| Publishing issue |

|
2006-07-28 11:28:49 |
|
let me check this issue as have no idea
On 7/28/06, Jay <yahoo.com">jabirfayyaz yahoo.com> wrote:
Ok let me explain in detail. i am creating a document in lenya and doing some sort of editing in KUPU editor as well. thats the most easiest part ever in my Lenya Life 
Now we can publish our documents with 'workflow->publish'
this creates and html file with apache logo on it,menu on left plus footer(by default). but i dont want publishing like this. i only want to publish what i have edited in KUPU editor. only that part which i say
content of new document should be published. when i am viewing my document in editor view,i should be able to again edit my document and publish it again and again, but when i see it in live view nothing should be displayed
except document (no menu, no logo etc) remember i m only adding text to my page with kupu, and only text should be displayed in live view. i hope its clear, but if not please do ask me again. -- View this message in context:
http://www.nabble.com/Publishing-issue-tf2013926.html#a5537496 Sent from the Lenya - Dev forum at Nabble.com.
--------------------------------------------------------------------- To unsubscribe, e-mail: lenya.apache.org">dev-unsubscribe lenya.apache.org For additional commands, e-mail:
lenya.apache.org">dev-help lenya.apache.org
-- Thank you, Bhavya Sharma
|
| Publishing issue |

|
2006-07-28 11:32:00 |
OK :( im waiting for respone
--
View this message in context: http://www.nabble.com/Publishing-issue-tf2013926.h
tml#a5537878
Sent from the Lenya - Dev forum at Nabble.com.
------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribe lenya.apache.org
For additional commands, e-mail: dev-help lenya.apache.org
|
|
|
|