When parsing content for cron.weekly issues, such as the one at https://ma.ttias.be/cronweekly/issue-130/, Mercury Parser would remove headings and ordered lists that were part of the content. It also demoted h1 elements to h2, giving other h2 elements the appearance of being at the same level in the organizational hierarchy of the document. This resolves these issues as follows:
Remove id attributes from h1 and h2 elements. Those attributes would result in the elements having a low weight.
Since Mercury Parser demotes h1 elements to h2, demote h2 elements to h3.
Add a class="entry-content-asset" attribute to ul elements to avoid them being removed.
The site does not have deks or lead images, so those are not in the extractor.
When parsing content for cron.weekly issues, such as the one at https://ma.ttias.be/cronweekly/issue-130/, Mercury Parser would remove headings and ordered lists that were part of the content. It also demoted
h1
elements toh2
, giving otherh2
elements the appearance of being at the same level in the organizational hierarchy of the document. This resolves these issues as follows:id
attributes fromh1
andh2
elements. Those attributes would result in the elements having a low weight.h1
elements toh2
, demoteh2
elements toh3
.class="entry-content-asset"
attribute toul
elements to avoid them being removed.The site does not have deks or lead images, so those are not in the extractor.