My site, theaccidentalcoder.com (The Accidental Coder) had been feeding Drupal Planet. In doing a site makeover, I discovered there was an issue with the feed format I was producing. After fixing it, I saw my latest post was not appearing in Drupal Planet, and in looking at the sites that feed it, I discovered that my site was no longer listed. Please add it back in. The URL is https://theaccidentalcoder.com/planet-drupal/feed.

Comments

j. ayen green created an issue. See original summary.

avpaderno’s picture

Title: Re-add my Drupal Planet feed » Re-add theaccidentalcoder.com to Planet Drupal
Category: Support request » Task
Status: Active » Needs work
StatusFileSize
new157.29 KB

The feed passes validation; there are also at least two articles posted in the last three months and three weeks.

The code is not correctly rendered: It is formatted without new lines, making it difficult to read it.

screenshot

Despite what that sentence says (as shown in Figure 4), what follows is text.

avpaderno’s picture

Issue summary: View changes
j. ayen green’s picture

Hi. Thanks for the feedback. There were two issues that are now resolved:
1. The feed was not set to provide only Summary Or Trimmed of the body (code should never have been fed)
2. The W3C validator was showing stale data (the feed is set to not show anything prior to 2025). I gave the validator a dummy query string and it is providing the correct output now.

j. ayen green’s picture

I take that back. Apparently the validator continues to show stale data UNLESS a random query string is provided. Checking on it...

avpaderno’s picture

I apologize I was not clear: I checked the article directly on the site; the screenshot I attached to my previous comment has been taken from the site.

j. ayen green’s picture

Ah! No worries. Yeah, the code block handling met a head-on train, it seems. It should all look MUCH better now!

avpaderno’s picture

There are some debugging comments which make the feed fail validation.

<!-- THEME DEBUG -->
<!-- THEME HOOK: 'views_view_rss__taxonomy_term__feed_2' -->
<!-- FILE NAME SUGGESTIONS:
   ✅ views-view-rss--taxonomy-term--feed-2.html.twig
   ▪️ views-view-rss--taxonomy-term.html.twig
   ✅ views-view-rss--taxonomy-term--feed-2.html.twig
   ▪️ views-view-rss.html.twig
-->
<!-- 💡 BEGIN CUSTOM TEMPLATE OUTPUT from 'themes/custom/tac/tac/templates/views/views-view-rss--taxonomy-term--feed-2.html.twig' -->
<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"
     xmlns:dc="http://purl.org/dc/elements/1.1/"
     xmlns:atom="http://www.w3.org/2005/Atom"
     xml:base="https://theaccidentalcoder.com/">
  <channel>
    <title><![CDATA[The Accidental Coder]]></title>
    <link>https://theaccidentalcoder.com/</link>
    <description><![CDATA[Articles, tutorials, and creative insights on Drupal and tech.]]></description>
    <atom:link href="" rel="self" type="application/rss+xml"/>
    <language>en</language>
j. ayen green’s picture

Oops. Twig debug is now off. Thanks.

avpaderno’s picture

Status: Needs work » Reviewed & tested by the community

The feed validation is still catching the old revision. I checked the feed and the articles from the site; all is working as expected. I love how the code is rendered on the page!

I will add the feed when I return to my computer (between an hour, less or more).

avpaderno’s picture

Assigned: Unassigned » avpaderno
Status: Reviewed & tested by the community » Fixed

I added the feed to Planet Drupal (https://www.drupal.org/aggregator/sources/2103).

Now that this issue is closed, please review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, please credit people who helped resolve this issue.

j. ayen green’s picture

Thanks! I appreciate your patience.

I’m dumbfounded by the validator using its own cache.

avpaderno’s picture

I’m dumbfounded by the validator using its own cache.

I did not expect that either. I can understand they could try to avoid DDOS attacks, but people using the service should be warned that results are cached.
Knowing the result are cached, I will now use more validation services.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.