bullhorn / career-portal

A Bullhorn Platform SDK app that allows candidates to search for and apply to jobs.
https://bullhorn.github.io/career-portal/
MIT License
132 stars 150 forks source link

Feed won’t validate: remove "children" element from RSS feed #527

Closed davidfchuck closed 1 year ago

davidfchuck commented 1 year ago

INSERT SHORT DESCRIPTION EXPLAINING THE HIGH-LEVEL REASON FOR THE NEW ISSUE HERE.

Current behavior The generateXml.ts file inserts element name "children" into the RSS feed. After 2 weeks of using the new dynamic hosted OSCP, Google Console still only identifies one link within the RSS (we have 141 job openings currently). After investigating, I'm attempting to validate the RSS feed per W3.org. I've got it all nailed down, except this.

-

Expected behavior - I'd like each job listing to populate within the "channel", but without the "children" tag/. "children" just needs to be invisible within RSS feed.

-

Steps to replicate behavior

  1. Setup your instance of the OSCP. Visit (yourdomain)/feed. View the page source, or have the RSS Feed validated at https://validator.w3.org/feed/.

Screenshots

children in rss feed

Expected RSS feed to validate without being wrapped in ‘children’ .. rename “children” object to something valid within RSS language.

davidfchuck commented 1 year ago

I figured out a work around... by including ".children" in the jsonxml push... it removed the parent tag 'children' in the feed, and also removed the title/link/description. It's good enough for now... Google reads all 142 links now. Thx

pbearne commented 1 year ago

Hi David

Where are you trying to read the RSS from?

Most Job board need custom feeds

Paul