Advanced

Advanced topics

Servlet: InsertXRef

com.pageseeder.xref.InsertXRef

Description

Displays a form for inserting a cross-reference.

This item is obsolete!

This Servlet is now obsolete and is no longer available in PageSeeder 5.4+.

HTTP Method: GET

The purpose of this method is to provide enough information and information for an external system (for a example an HTML form) to be able to create a cross-reference.

Note

This HTTP method does not actually create the cross reference: use HTTP method POST to do that.

HTTP Parameters

sourceuriThe ID of the source URIyeslong
targeturiThe ID of the target URIyeslong

HTTP Method: POST

Inserts a cross-reference between two URIs or URI fragments.

This method links two URIs by creating a link between the two. This link can be bidirectional if the reverselink parameter is set to true .

To add semantics to the links use labels.

HTTP Parameters

NameDescriptionRequiredTypeDefault
sourceuriThe ID of the source URIyeslong
targeturiThe ID of the target URIyeslong
sourcetitleThe title of the source for this xrefnostring
sourcefragThe fragment ID of the sourcenostring
targetfragThe fragment ID of the targetnostring
reverselink"true" for a reverse link (both way link) or "false" for a simple link (one way)noboolean
linktypeThe type of linknoboolean
reverselinktypeThe type of the reverse linknoboolean
labelsThe labels (as separate parameters)nolabels
displayHow the link should be displayednostring

Created on , last edited on