vuepress-plugin-feed icon indicating copy to clipboard operation
vuepress-plugin-feed copied to clipboard

feat: Add full-text content output

Open Maecenas opened this issue 6 years ago • 2 comments
trafficstars

Add full-text content output.

Description

Add as a default option to export full-text content.

Checklist

  • [x] All tests are passing
  • [x] My code follows the code style and structure of this project

You may preview the sample feed output at my blog. One thing to notice is that I haven't exported the canonical src for <img> tags. Local development with Reeder 4 would correctly display the result (<img src='/pic.jpg'></img>), while Reeder 3 wouldn't. The default heading anchor (#) from VuePress also didn't been removed from the output.

Development (Reeder 4) Development on Reeder 4 Development (Reeder 3) Development on Reeder 3

Maecenas avatar May 31 '19 08:05 Maecenas

Hi @Maecenas,

It needs to support any feed reader, that's why the paths need to be absolute.

webmasterish avatar Jun 02 '19 00:06 webmasterish

Hi @webmasterish, The images on third-party CDN work there. The images with absolute src can be addressed by calling url.resolve(path: string): string. But for those images with relative src (./test.jpg, those placed in the same folder with markdown), I have no idea for now, as plugins like this are applied before the minification started.

Maecenas avatar Jun 02 '19 02:06 Maecenas