Main purpose is to prevent orphaned groups.
It's not possible to use the ON DELETE CASCADE trigger here, to remove
the group together with the last feed that is assigned to this group.
The ON DELETE CASCADE trigger will raise an foreign key violation error
in cases where the removed feed is not the last feed associated to a
group.
The purge_groups() call has been moved to the remove group functions,
since it's the only way to create an orphaned group.
Articles without paragraphs should have a margin to item action as well. Fix this issue by adding the margin to the container element.
There must be no space between between the <div class="preview-full-content"> and the $item['content']. The CSS pseudo-class :empty does not consider a div with whitespaces only as empty. The Selectors Level 4 Draft[1] as of 13 September 2015, mentions the CSS pseudo-class :blank which will do so. But it's a draft and not yet implemented by the majority of the browsers.
[1] https://drafts.csswg.org/selectors-4/#the-blank-pseudo
there must be no space between between the <p class="preview"> and the $item['content']. The CSS pseudo-class :empty does not consider a paragraph with whitespaces as empty. The Selectors Level 4 Draft[1] as of 13 September 2015, mentions the CSS pseudo-class :blank which will do so. But it's a draft and not yet implemented by the majority of the browsers.
[1] https://drafts.csswg.org/selectors-4/#the-blank-pseudo
The constant DIRECTORY_SEPARATOR is "\" on windows and therefore the favicon urls are invalid for php on windows.
Renamed the FAVICON_PUBLIC_DIRECTORY constant to a more descriptive name.