Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0

...

Table of Contents

Abstract

There is a need to extract KB data to feed Drupal versions of How-To and Status pages. There are a number of fields which are dependent and/or required for each use case, and that is generally enforced on the ServiceNow side (see Update Sets tagged with Requirement 567).

Feed URLs

...

...

The feed dynamically filters to only include published articles. The view includes what we assume will be pertinent info:

...

Accounts/Data

  • test data was created to validated the code changes and XML exports
  • user account s_sn_drupal (local, non-AD) was created to authenticate Drupal (see: /wiki/spaces/SN/pages/50469376)

Specification

https://docs.google.com/spreadsheet/ccc?key=0AokhQhmfxtzrdGY4Mi01dHRGQmFjaEtvTTNmbnNsa2c#gid=2

Field Mappings

How-To

Spec Name

XPath

Title

//kb_knowledge/short_description

Unique ID

//kb_knowledge/number

Body

//kb_knowledge/text

Summary

//kb_knowledge/intro_text

Author

//kb_knowledge/author@display_value

Last updated

//kb_knowledge/sys_updated_on

Site wide tag

//kb_knowledge/u_web_taxonomy_txt

Category (primary)

//kb_knowledge/u_primary_web_category

Category (secondary)

//kb_knowledge/u_secondary_web_category

Status/News

Spec Name

XPath

Title

//kb_knowledge/short_description

Unique ID

//kb_knowledge/number

Body

//kb_knowledge/text

Summary

//kb_knowledge/intro_text

Audience

//kb_knowledge/u_audience

Category

//kb_knowledge/u_web_category

Event Date

//kb_knowledge/u_event_date

Expiration Date

//kb_knowledge/valid_to

Last updated

//kb_knowledge/sys_updated_on