[opencms-dev] Page with links to other pages

Arash Kaffamanesh arash.kaffamanesh at pomegranate.de
Sat Mar 1 00:18:51 CET 2008


Hi Sebastian,

thanks for the hint, I've just checked the link correction for xml free 
pages, it works in offline project great, but "publish with related 
resources" doesn't work:

I've a resource A
A has a link to B
B will be renamed to C and C has new content
A will be touched and published with "Publish with related resources"
In online Project A has the old link to B and not to C, because C was 
not published with A together (although "publish with related resources" 
was checked).

But the nice thing is you have no dead links anymore, you will get the 
old content only, that's O.K for me ;)

But I guess it should be possible to save the relations in the relation 
table for XMLFreePages too and then "publish with related resources" 
shall work as a charm as it does for XMLContent types!

Have a nice weekend!

Best,
Arash




Sebastian Himberger schrieb:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi Arash,
> Hi Fabian,
>
> Link correction and broken link detection works with freetext xml pages.
> Take a look at the controlcode. There you can see that OpenCms always
> extracts the links in a seperate xml node. AFAIK this behaviour is not
> new and the CRE is build upon this.
>
> Since the XMLContent types are able to define abitrary XML to store the
> data (We made a GeoLocation datatype which stores a lat/lng value as
> custom XML) i suspect that link management even works for XMLContent
> HTML Widgets if you choose OpenCmsHtmlValue as value type. If you choose
> String as type there should be no link management. I must admit i never
> checked that it works i just assumed it does.
>
> Have you verified that it does not?
>
> best regards,
> Sebastian
>
>
>
> Arash Kaffamanesh schrieb:
> | Hello Fabian,
> | hello together,
> |
> | as you mentioned the link management works only with XMLContent
> | resources and VFS week or strong links, but as I can guess it could work
> | for free XML pages too (every link in xml pages shall be saved into the
> | relation table and if any resource which has been referenced from any
> | other resource moves, then upon publishing of this resource it could be
> | possible to publish all other related resources with the new path to the
> | moved resource).
> | So I think the link management could work for HTML Widgets within
> | XMLContent too.
> | Mainly for this reason that no link- / relationship- management is
> | possible at the moment for free xml pages and links within HTML Widgets,
> | urrently in most projects we don't allow to have any vfs or external
> | links or images in HTML Widget, and free xml pages are disabled at all.
> | Another related issue is the lack of handling external links in
> | XMLContent, if any external link changes (the value of "Link URL" of an
> | external link will change), then it would be impossible to find out in
> | which content items this value was inserted as string before (I know
> | there is the external Link validation tool there, but it works only for
> | external dead links).
> |
> | But I hope these extended link management features are going to come soon.
> |
> | @Alex? ;)
> |
> | I know there are a lot of subtleties and intricacies to be aware of, but
> | as we know visions are unlimited and OpenCms is great enough to bring
> | visions to reality ;o)
> |
> | In this spirit!
> |
> | Best,
> | Arash
> |
> | Fabian Huschka schrieb:
> |> Hello Arash,
> |>
> |> do you have any experience with CRE, structured content and
> |> HTML-editable content? To my knowledge, links inside HTML content areas
> |> within structured content are not checked (as this content is stored as
> |> plain character data) and since the CRE can only cope with
> |> VFS-widget-generated links (no offense Alex :-)) this does not help the
> |> problem either. I wonder if anyone has an easy solution for this task at
> |> hand - or may be I am just off oneĀ“s cake ;-).
> |>
> |> \Fabian
> |>
> |> PS
> |>
> |> Looking forward to meet you at CeBIT.
> |>
> |> arash.kaffamanesh at pomegranate.de schrieb:
> |>
> |>> Hi,
> |>>
> |>> if you are using OpenCms 7, the new Linkmanagement (Content Relation
> |>> Engine) will help you to be ware of any changes in your objects and if
> |>> any resources (contextual objects) are changed in the galleries, then
> |>> the related resources which include these objects will get published
> |>> automatically.
> |>>
> |>> For more information about how to use the related links and link
> |>> management features have a look on this thread:
> |>>
> |>> http://www.pomegranate.de:9000/cms/forum/viewthread?thread=119#258
> |>>
> |>> HTH,
> |>> Kind Regards,
> |>> Arash
> |>>
> |>>
> |>>
> |>>
> |>>
> |>> On Mon Feb 25 17:27:09 CET 2008, Bozidar Ilievski
> |>> <bozidar.ilievski at netcetera.com.mk> wrote
> |>>
> |>>     Hi.
> |>>
> |>>     I have the following problem.
> |>>     Each page of the website has center column with the main content,
> |>>     and a
> |>>     right column that contains some "Context Objects" (links to other
> |>>     pages).
> |>>     I need help on how to implement the right column.
> |>>
> |>>     By "Context Object" i mean a peace of HTML or JSP code that
> |>>     contains an
> |>>     image, short text or no text at all, and a link to another page.
> |>>     There is a pool of about 20 such objects.
> |>>     The Content Editor can assign one or more of these objects to each
> |>>     page.
> |>>
> |>>     So for example:
> |>>     page1 can have object1, object5 and object8 on its right column, and
> |>>     page2 can have object1, object3 and object7 on its right column.
> |>>
> |>>     page1:
> |>>     ------------------
> |>>     | page1 | obj1
> |>>     | page1 | obj5
> |>>     | page1 | obj8
> |>>     ------------------
> |>>
> |>>     page3:
> |>>     ------------------
> |>>     | page2 | obj1
> |>>     | page2 | obj3
> |>>     | page2 | obj7
> |>>     ------------------
> |>>
> |>>     I don't want to use a Html Gallery because if a gallery object is
> |>>     changed, changes wont be reflected to pages where the object has
> been
> |>>     previously added.
> |>>
> |>>     Does someone have an idea how to implement this behavior?
> |>>
> |>>     Regards,
> |>>     Bobi.
> |>>     --
> |>>     Bozidar Ilievski | bozidar.ilievski at netcetera.com.mk
> |>>     phone +389 -2- 30 64 532 | fax +389 -2- 30 79 495
> |>>     Netcetera | 1000 Skopje | Macedonia | http://netcetera.com.mk
> |>>
> |>>     _______________________________________________
> |>>     This mail is sent to you from the opencms-dev mailing list
> |>>     To change your list options, or to unsubscribe from the list,
> |>>     please visit
> |>>     http://lists.opencms.org/mailman/listinfo/opencms-dev
> |>>
> |>> ------------------------------------------------------------------------
> |>>
> |>>
> |>> Hi,
> |>>
> |>> if you are using OpenCms 7, the new Linkmanagement (Content Relation
> Engine) will help you to be ware of any changes in your objects and if
> any resources (contextual objects) are changed in the galleries, then
> the related resources which include these objects will get published
> automatically.
> |>>
> |>> For more information about how to use the related links and link
> management features have a look on this thread:
> |>>
> |>> http://www.pomegranate.de:9000/cms/forum/viewthread?thread=119#258
> |>>
> |>> HTH,
> |>> Kind Regards,
> |>> Arash
> |>>
> |>>
> |>>
> |>>
> |>>
> |>>
> |>>  On Mon Feb 25 17:27:09 CET 2008, Bozidar Ilievski
> <bozidar.ilievski at netcetera.com.mk> wrote
> |>>  Hi.
> |>>
> |>> I have the following problem.
> |>> Each page of the website has center column with the main content,
> and a
> |>> right column that contains some "Context Objects" (links
> to other pages).
> |>> I need help on how to implement the right column.
> |>>
> |>> By "Context Object" i mean a peace of HTML or JSP code
> that contains an
> |>> image, short text or no text at all, and a link to another page.
> |>> There is a pool of about 20 such objects.
> |>> The Content Editor can assign one or more of these objects to each
> page.
> |>>
> |>> So for example:
> |>> page1 can have object1, object5 and object8 on its right column, and
> |>> page2 can have object1, object3 and object7 on its right column.
> |>>
> |>> page1:
> |>> ------------------
> |>>     | page1 | obj1
> |>>     | page1 | obj5
> |>>     | page1 | obj8
> |>> ------------------
> |>>
> |>> page3:
> |>> ------------------
> |>>     | page2 | obj1
> |>>     | page2 | obj3
> |>>     | page2 | obj7
> |>> ------------------
> |>>
> |>> I don't want to use a Html Gallery because if a gallery object is
> |>> changed, changes wont be reflected to pages where the object has been
> |>> previously added.
> |>>
> |>> Does someone have an idea how to implement this behavior?
> |>>
> |>> Regards,
> |>> Bobi.
> |>> --
> |>> Bozidar Ilievski | bozidar.ilievski at netcetera.com.mk
> |>> phone +389 -2- 30 64 532 | fax +389 -2- 30 79 495
> |>> Netcetera | 1000 Skopje | Macedonia | http://netcetera.com.mk
> |>>
> |>> _______________________________________________
> |>> This mail is sent to you from the opencms-dev mailing list
> |>> To change your list options, or to unsubscribe from the list, please
> visit
> |>> http://lists.opencms.org/mailman/listinfo/opencms-dev
> |>>
> |>> ------------------------------------------------------------------------
> |>>
> |>>
> |>> _______________________________________________
> |>> This mail is sent to you from the opencms-dev mailing list
> |>> To change your list options, or to unsubscribe from the list, please
> visit
> |>> http://lists.opencms.org/mailman/listinfo/opencms-dev
> |>>
> |> _______________________________________________
> |> This mail is sent to you from the opencms-dev mailing list
> |> To change your list options, or to unsubscribe from the list, please
> visit
> |> http://lists.opencms.org/mailman/listinfo/opencms-dev
> |>
> |>
> |
> |
> |
> | _______________________________________________
> | This mail is sent to you from the opencms-dev mailing list
> | To change your list options, or to unsubscribe from the list, please visit
> | http://lists.opencms.org/mailman/listinfo/opencms-dev
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.6 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQFHyFNdVKBy6qoVEvwRAt3aAKDzDFEcVLQ8CaEpJQ77ZAY5kW70dACfW5GH
> 9yOaclfOYy2Yfc3RzbVWzZQ=
> =ij2y
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://lists.opencms.org/mailman/listinfo/opencms-dev
>
>   
 






More information about the opencms-dev mailing list