Feature #26
Keep name in meta.xml file
| Status: | Closed | Start: | 01/17/2009 | |
| Priority: | Low | Due date: | ||
| Assigned to: | teknecal | % Done: | 100% |
|
| Category: | - | Spent time: | 4.00 hours | |
| Target version: | v0.2.5b | |||
Description
Keep the name that users have in the meta.xml file when updating HBB.
<Yossi> can you add support for ppl who edited the xml file to add a space to the beginning of the app name
<Yossi> so that hbb is at the top of the list always?
<Yossi> as soon as i update, it puts it back the "wrong" way
History
Updated by teknecal 596 days ago
- % Done changed from 0 to 30
Reading XML file done, line with name can be printed.
Updated by teknecal 596 days ago
- % Done changed from 30 to 70
Made it read the meta.xml file if it exists, if so it grabs the third line and saves it.
It downloads the new meta.xml file, reads/writes each line and then inserts the saved third line from the old meta.xml file.
This isn't the best way of doing it, should look at a proper XML solution to read the <name> element.
To be thoroughly tested.
Updated by teknecal 595 days ago
- Priority changed from Normal to Low
Muzer wrote:
Use libmxml.
Yeah I guess I should. I use it for the settings.xml file. Though how do you make it read something from just elements like the <name>? The example provided only shows you how to read from attributes. Will have to research this.
Updated by teknecal 590 days ago
- Status changed from New to Resolved
- % Done changed from 70 to 100
Tested and working.
Updated by Yossi 486 days ago
teknecal wrote:
Tested and working.
i know this is officially closed, but recently when i updated ftpii, it changed the name again. ftpii was on the first page, now its on the fourth or fifth. kind of a PITA.
Updated by teknecal 486 days ago
Yossi wrote:
teknecal wrote:
Tested and working.
i know this is officially closed, but recently when i updated ftpii, it changed the name again. ftpii was on the first page, now its on the fourth or fifth. kind of a PITA.
Thanks, I have tested and have confirmed this issue. I think somewhere along the lines of changing versions this functionality seems to be lost.