[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[H-source-users] Fw: Bad IRI in XML exports
From: |
Laura Morales |
Subject: |
[H-source-users] Fw: Bad IRI in XML exports |
Date: |
Sat, 15 Apr 2017 15:04:47 +0200 |
I think I've found the line in h-source [1].
Could somebody please add another line after this one? Something like this I
guess
$xml .=
"\t\t<permalink>".$this->baseUrl."/".Hardware::getControllerFromType($type)."/view/".$this->lang."/".$row['hardware']['id_hard']."</permalink>\n";
This would be very handy. I'm not sure where the [tab] characters are coming
from though.
Thank you.
--------
[1]
https://svn.savannah.gnu.org/viewvc/h-source/trunk/h-source/Application/Controllers/DownloadController.php?revision=404&view=markup#l159
> Another observation: I suppose the last part of a URL (after the item ID), is
> only there for SEO reasons. For example the URL
>
> https://h-node.org/scanners/view/en/1320/Chic-Technology-Corp--Optical-Wireless/1/1/undef/undef/undef/undef/compatibility/undef
>
> points to the same page of
>
> https://h-node.org/scanners/view/en/1320/[https://h-node.org/scanners/view/en/1320/]
>
> Therefore, would it be possible to use the second notation (the one *without*
> the item title in the URL) as the value for the <link> tags in the XML
> exported files? Or alternatively both, <link> for the complete link with the
> item title, and <perma-link> with only the item ID but no title?
>
> Best regards.
- [H-source-users] Bad IRI in XML exports, Laura Morales, 2017/04/15
- [H-source-users] Bad IRI in XML exports, Laura Morales, 2017/04/15
- [H-source-users] Fw: Bad IRI in XML exports, Laura Morales, 2017/04/15
- [H-source-users] Fw: Bad IRI in XML exports,
Laura Morales <=
- Re: [H-source-users] Fw: Bad IRI in XML exports, Luis Guzmam, 2017/04/15
- Re: [H-source-users] Fw: Bad IRI in XML exports, Laura Morales, 2017/04/15
- Re: [H-source-users] Fw: Bad IRI in XML exports, Ian Gilfillan, 2017/04/15
- Re: [H-source-users] Fw: Bad IRI in XML exports, Luis Guzmam, 2017/04/15
- Re: [H-source-users] Fw: Bad IRI in XML exports, Laura Morales, 2017/04/15
- Re: [H-source-users] Fw: Bad IRI in XML exports, Luis Guzmam, 2017/04/15