iquercorb / OpenModMan

Open Mod Manager - Open source and generic Mod ("Modifications") manager.
GNU General Public License v3.0
91 stars 5 forks source link

Package category on remote repositories are not shown in the list #27

Closed retroluxfilm closed 2 years ago

retroluxfilm commented 2 years ago

I am not sure if that is an issue that the category tag is differently written to the repository xml as I generated it with the PHP library, like that. Could not test the OMM repository generation as it is currently not working.

<remote ident="MISC_-_Retrolux_AMS_Reshade_v1.6.0" file="MISC_-_Retrolux_AMS_Reshade_v1.6.0.zip" bytes="10278750" checksum="144f73a554d43728">
      <url>mod_packages/Misc/</url>
      <category>MISC</category>
    </remote>

grafik

iquercorb commented 2 years ago

Category must be an attribute, not a child node: <remote ident="blahblah" category="MISC" file="blahblah" bytes="10278750" checksum="144f73a554d43728"> Should be properly parsed.

retroluxfilm commented 2 years ago

oki doki. Fixed it in the PHP library and it works now. Closing issue.