Closed williamspiro closed 6 years ago
Given a blog has a root url with extension, you can simply let the program know the blog root url and it will find posts based off that root url using the sitemap of the site.
Simply set the BLOG_ROOT_URL variable if you want to use this option. Would work with example: static final String BLOG_ROOT_URL = https://www.kungfupanda.com/blog This means you do not need to set the POSTS array manually and it will find posts like: https://www.kungfupanda.com/blog/dragon-warrior https://www.kungfupanda.com/blog/valley-of-peace https://www.kungfupanda.com/blog/jade-palace
BLOG_ROOT_URL
static final String BLOG_ROOT_URL = https://www.kungfupanda.com/blog
POSTS
If the posts do not live as an extension of the root url, this will not work, so just leave BLOG_ROOT_URL as an empty string
Given a blog has a root url with extension, you can simply let the program know the blog root url and it will find posts based off that root url using the sitemap of the site.
Simply set the
BLOG_ROOT_URL
variable if you want to use this option. Would work with example:static final String BLOG_ROOT_URL = https://www.kungfupanda.com/blog
This means you do not need to set thePOSTS
array manually and it will find posts like: https://www.kungfupanda.com/blog/dragon-warrior https://www.kungfupanda.com/blog/valley-of-peace https://www.kungfupanda.com/blog/jade-palaceIf the posts do not live as an extension of the root url, this will not work, so just leave
BLOG_ROOT_URL
as an empty string