RSS feed stopped working
-
Not sure how, but the RSS feed coming into our website suddenly stopped working. Is their a way to test or troubleshoot the feed so I can fix the problem?
We use this short code [careers_feed] to pull the content.
Our WordPress theme uses this PHP code to get the RSS feed:
<?php // Get RSS Feed(s) // Get a SimplePie feed object from the specified feed source. $rss = wp_remote_get('https://network.applytoeducation.com/Applicant/attSearchexXML.aspx?jcid=ae480160-2405-4566-adcf-ad7af9021942&ep=415fecc7-f2ab-4a8c-b923-7385f8e685fb&lc=en&app_type=external&basejc=1' ); $rss = wp_remote_retrieve_body($rss); $jobs = simplexml_load_string($rss); if( isset($jobs->job) && !empty($jobs->job) ) : $jobs = $jobs->job; //print_r($jobs->job); ?> <table class="careers-feed"> <thead> <th>Job Title</th> <th>Posted Date</th> <th>School</th> <th>Job Type</th> </thead> <tbody> <?php foreach ( $jobs as $job ) : ?> <tr> <td><a href="<?php echo $job->url; ?>" target="_blank"><?php echo $job->title; ?></a></td> <td><?php echo $job->date; ?></td> <td><?php echo $job->school; ?></td> <td><?php echo $job->jobtype; ?></td> </tr> <?php endforeach; ?> </tbody> </table> <?php endif; ?>
The page I need help with: [log in to see the link]
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘RSS feed stopped working’ is closed to new replies.