Unknown Attachment and replacement
1- Switching Products, Icons, Visio stencils and images
Missing attachment:
faulty | "body": { "storage": { "value": "<p><ac:image><ri:attachment ri:filename=\"headerFTU.jpg\" ri:version-at-save=\"2\"><ri:page ri:content-title=\"Juniper Switching Home page\" ri:version-at-save=\"3\" /></ri:attachment></ac:image></p><p><br /></p><h3>Image Library: <a href=\"https://www.juniper.net/us/en/company/press-center/images/image-library/\">https://www.juniper.net/us/en/company/press-center/images/image-library/</a></h3><h3>Icons and Visio Stencils: <a href=\"https://www.juniper.net/uk/en/products-services/icons-stencils/\">https://www.juniper.net/uk/en/products-services/icons-stencils/</a></h3><p><br /></p><p>QFX5100 BCM <span style=\"color: rgb(95,95,95);\">StrataXGS </span>Trident 2</p><p><a href=\"http://www.networkcomputing.com/networking/junipers-qfx5100-switches-knit-fabric/787583667\">http://www.networkcomputing.com/networking/junipers-qfx5100-switches-knit-fabric/787583667</a></p><p>QFX5110 BCM <span style=\"color: rgb(95,95,95);\">StrataXGS </span>Trident 2+</p><p><a href=\"https://forums.juniper.net/t5/Data-Center-Technologists/Introducing-QFX5110-Network-Director-v3-0-and-Professional/ba-p/303182\">https://forums.juniper.net/t5/Data-Center-Technologists/Introducing-QFX5110-Network-Director-v3-0-and-Professional/ba-p/303182</a></p><p>QFX5200 <span style=\"color: rgb(95,95,95);\">BCM <span style=\"color: rgb(95,95,95);\">StrataXGS </span>Tomahawk Chipset</span></p><p><span style=\"color: rgb(95,95,95);\"><a href=\"https://forums.juniper.net/t5/Data-Center-Technologists/The-QFX5200-a-switch-re-invented/ba-p/283679\">https://forums.juniper.net/t5/Data-Center-Technologists/The-QFX5200-a-switch-re-invented/ba-p/283679</a></span></p><p><span style=\"color: rgb(95,95,95);\">QFX10K <span style=\"color: rgb(95,95,95);\"> Juniper ASIC Q5 chip</span></span></p><p><span style=\"color: rgb(95,95,95);\"><span style=\"color: rgb(95,95,95);\"><a href=\"http://www.hardwaresolutions.com/partners/juniper-networks/juniper-qfx10000/\">http://www.hardwaresolutions.com/partners/juniper-networks/juniper-qfx10000/</a><br /></span></span></p><p><span style=\"color: rgb(95,95,95);\"><br /></span></p>", "representation": "storage", |
working | "body": { "storage": { "value": "<p><ac:image><ri:attachment ri:filename=\"headerFTU.jpg\" ri:version-at-save=\"2\"><ri:page ri:content-title=\"Juniper Switching\" ri:version-at-save=\"4\" /></ri:attachment></ac:image></p><p><br /></p><p><a href=\"https://www.juniper.net/assets/us/en/local/pdf/datasheets/1000524-en.pdf\">https://www.juniper.net/assets/us/en/local/pdf/datasheets/1000524-en.pdf</a></p>", "representation": "storage", |
string | <p><ac:image><ri:attachment ri:filename=\"headerFTU.jpg\" ri:version-at-save=\"2\"><ri:page ri:content-title=\"Juniper Switching\" ri:version-at-save=\"4\" /></ri:attachment></ac:image></p><p> |
using the script to get the html page | <ri:attachment ri:filename="headerFTU.jpg" ri:version-at-save="2"><ri:page ri:version-at-save="2"></ri:page></ri:attachment> >>>> Not working <ri:attachment ri:filename="headerFTU.jpg" ri:version-at-save="2"><ri:page ri:content-title="test" ri:version-at-save="2"></ri:page></ri:attachment> >>>> Working |
What need to be replaced | <ri:page ri:version-at-save="2"></ri:page> ----------> <ri:page ri:content-title="test" ri:version-at-save="2"></ri:page> |
https://codebeautify.org/htmlviewer/# code <p class=\"rvps2\"> <img alt=\"\" src=\"//thefreetelecomuni.atlassian.net/wiki/NewItem223.png\" /> </p> <p class=\"rvps2\"> <span class=\"rvts8\"> <ac:image ac:height=\"250\"> <ri:attachment ri:filename=\"NewItem220.png\" ri:version-at-save=\"1\" /> </ac:image> <br /> </span> </p> | |
Original | <img alt="" src="//thefreetelecomuni.atlassian.net/wiki/NewItem220.png"/> |
to replace to | <ac:image ac:height=\"250\"> <ri:attachment ri:filename=\"NewItem220.png\" ri:version-at-save=\"1\" /> </ac:image> |