0

I want to change RSS feed URL structure:

<h2><a href="frame.php?u=<?php echo $item->get_permalink();?>" target="_blank"><?php echo $item->get_title();?></a></h2>

The above code is RSS URL that redirect to frame.php that iframe to this website. But the URL looks like this :

http://akhbartop.ir/frame.php?u=http://www.irna.ir/fa/News/82283197/

I want to change that URL for example like this :

http://akhbartop.ir/frame.php?u=News/82283197/

Actually, I don't want to show URL website feed to my website.

  • Please, add more information why do you use $item->get_permalink();. Any add-ons? And please rephrase your question as it's impossible to understand. – Max Yudin Oct 27 '16 at 8:11
  • i used simplepie for display feeds from many sites on my website and this is the right permalink format to redirect on that website.but i want to change url.it seems that these feeds are my website posts.i hope you understand what i mean check url on main topic that is what i mean – m.javad Koushki Oct 27 '16 at 8:14
  • 1
    Please edit your question including the missing important information. – Max Yudin Oct 27 '16 at 8:17
  • what do you need to know?!!cant understand what i say?! – m.javad Koushki Oct 27 '16 at 8:20

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.