@gotamedia/shapeshifter
Advanced tools
@@ -322,2 +322,13 @@ /* | ||
| * @public | ||
| * @returns {Object.<string, *>} | ||
| */ | ||
| get manualTeaser() { | ||
| const manualTeaserElement = this.selectSingle("//newsml:link[@rel='manualteaser' and @type='x-gm/manualteaser']"); | ||
| return { | ||
| externalLink: this.selectValue(".//newsml:externalLink/text()", undefined, manualTeaserElement) | ||
| }; | ||
| } | ||
| /** | ||
| * @public | ||
| * @returns {string} | ||
@@ -324,0 +335,0 @@ */ |
+1
-1
| { | ||
| "name": "@gotamedia/shapeshifter", | ||
| "version": "0.6.0", | ||
| "version": "0.7.0", | ||
| "description": "Shapeshifter is a general format converter. It converts strings of one format (shape) into a string of another.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
46564
0.78%1405
0.72%