You need to sign in to do that
Don't have an account?
Escape & and replace with & in Syndication Feed URL
Hi
In Syndication Feed Detail: I am creating URL 'Mapping' as below
ft:"Jobs",fa:" ",et:jt__c,el:"https://xyz.secure.force.com/?jobIds="+Id+"+'&'+page=JobDetailPage&jobSite=default&p=Candidate",ec:"Job Title: "+jt__c+"<br>"+"Job Industry:"+ji__c+"<br>"+"Job Category: "+jc__c+"<br>"+"City: "+c__c+"<br>"+"State: "+st__c+"<br>"+"Salary: "+Sa__c+"<br>"+"Overall Experience: "+oe__c+"<br>"+"Job Description Rich: "+AVTRRT__Job_Description__c+"<br>Job Summary:"+AVTRRT__Job_Summary__c+"<br>Job Term:"+t__c,ect: "html"
When executing http://xyz.force.com/services/xml/JobFeed the URL
the link is generating the URL as below
href="https://xyz.secure.force.com/MMS__HMSLayout?page=JobDetailPage&JobSite=default&p=Candidate&jobIds=a0F1600000iLjEq" />
Here instaed of & I need only & .
Please let me know how to escape amp;
Thanks & Regards,
Krishna Chaitanya
Yes definetely we can do it using a method called as unescapeHtml4() .
Using that all your HTML characters are escaped.
String.UnescapeHTML4() ;
Click on Best answer if you Liked IT .
Thanks,
Rohit Alladi