9/22/2023 0 Comments Tagspaces import tags file types![]() ![]() Import the result file from the previous export step to the target portal.Use the provided XML sample script to export all tags and ratings from the source portal.Make sure that all tagged and rated resources on the source portal also exist on the target portal.Make sure that all users who have applied tags and ratings on the source portal also exist on the target portal.To move tags and ratings between portals, for example for staging purposes, proceed as follows: Moving tags and ratings between portals by using the XML configuration interface Use this attribute to specify a name for a category instance. Use the following attribute with the subtag category-instance: You can assign several categories to a custom resource. Use the subtag category-instance to assign a category in the format of a string to a custom resource. Use the following subtag with the XML resource tag custom-resource: This attribute specifies a URI that identifies the custom resource. Use the following attribute with the XML resource tag custom-resource: Use this tag to represent custom resources, for example books. This attribute specifies the owner of the rating. This attribute specifies the rating value. This attribute specifies the database domain for the rated resource. This attribute specifies the reference to the resource that is being rated. Use the following attributes with the XML resource tag rating: Save the file in order to save your new tag. Type your tag or multiple tags separated by semicolons in the text box. This attribute specifies the owner of the tag. Select Add a tag in the Properties section. This attribute specifies the locale of the tag. This attribute specifies the database domain for the tagged resource. This attribute specifies the reference to the resource that is being tagged. Use the following attributes with the XML resource tag tag: The XML configuration interface action="update" works only for implicitly creating a new tag. You can update existing ratings, but not existing tags by using the XML configuration interface. When you move tagspaces between portals, both the users who have applied the tags and the resources to which the tags have been applied must exist in the target portal.When you create tags, ratings, or custom resources, you need to specify all attributes except the ones marked as optional.The XML resource tags and their attributes are listed in the following: The object ID of the custom-resource resource is used as the resourceref attribute in the tag and rating tags. ![]() To represent custom resources, for example books, you use the XML resource custom-resource.To tag or rate portal resources, you use their object IDs directly.Portal resources and custom resources are tagged and rated by different ways: The XML resources related to tagging and rating are tag, rating, and custom-resource. For example, you can move tagspaces and ratings between portal versions or for staging purposes. You can use the XML configuration interface to manage tagging and rating in the portal. Stemming from the CPM era I have witnessed many programs make this mistake and either adapt or they went down in huge flamewars. This is bound to get users into trouble with configuration files. Using the XML configuration interface to administer tags and ratings Use a hidden shadow file or a DB instead. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |