Title: Add ![CDATA] to permalink rss
Last modified: September 4, 2016

---

# Add ![CDATA] to permalink rss

 *  [Panos_M](https://wordpress.org/support/users/panos_m/)
 * (@panos_m)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/add-cdata-to-permalink-rss/)
 * Hello,
 * i have this feed [http://www.jobseeker.gr/?feed=job_feed](http://www.jobseeker.gr/?feed=job_feed)
   
   i am trying to add ![CDATA] to the link tag using `the_permalink_rss` filter.
   This is the code i have so far:
 *     ```
       //Add cdata to job permalink rss
       add_filter( 'the_permalink_rss', 'add_cdata_to_permalink' );
   
       function add_cdata_to_permalink ( $permalink) {
              $permalink = get_post_type_archive_link( get_query_var('job_listing') );
              return '<![CDATA[' . $permalink . ']]>';
       ```
   
 * And this is the output `<link>http://![CDATA[]]</link>` when it should be
 * `<link><![CDATA[permalink]]></link>`
 * What am i missing here?
    Any help is welcome

The topic ‘Add ![CDATA] to permalink rss’ is closed to new replies.

## Tags

 * [cdata](https://wordpress.org/support/topic-tag/cdata/)
 * [RSS](https://wordpress.org/support/topic-tag/rss/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [Panos_M](https://wordpress.org/support/users/panos_m/)
 * Last activity: [9 years, 9 months ago](https://wordpress.org/support/topic/add-cdata-to-permalink-rss/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
