Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC:

Disable feedlink 3 years 6 months ago #23497

  • aquila
  • aquila's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 2
  • Thank you received: 0
hi,
I would like to disable the feedlink, is that possible?
Best regards

Please Log in or Create an account to join the conversation.

Disable feedlink 3 years 6 months ago #23498

  • aquila
  • aquila's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 2
  • Thank you received: 0
It works if I delate this part of code for example in "com_jem\views\venue\view.html.php"
// Add feed links
$link = '&format=feed&id='.$venue->id.'&limitstart=';
$attribs = array('type' => 'application/rss+xml', 'title' => 'RSS 2.0');
$this->document->addHeadLink(JRoute::_($link . '&type=rss'), 'alternate', 'rel', $attribs);
$attribs = array('type' => 'application/atom+xml', 'title' => 'Atom 1.0');
$this->document->addHeadLink(JRoute::_($link . '&type=atom'), 'alternate', 'rel', $attribs);

but it won't works as override in "template\html\com_jem\views\venue\"

Please Log in or Create an account to join the conversation.

Disable feedlink 2 years 9 months ago #24611

It would be nice if it it were a setting to turn feed links on and off. Now you have to hack the core code of JEM (and each time there's an update). I woud also like to turn this of. Mainly because the Bing bot sees every rss and atom feed as a site map and adds it to the list of sitemaps in the Bing webmaster tools. (I ended up with a list of 200 sitemaps…)

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Time to create page: 0.202 seconds

Donate

If you find JEM useful and if you use it on your site, please consider a donation to the project.

Private Messages

You are not logged in.

Follow us......