Author |
Message |
Registered: March 13, 2007 | Reputation: | Posts: 3,321 |
| Posted: | | | | I know CSV files are outdated, but I used that feature all the time. It will be missed (and hopefully returned at some point). | | | Get the CSVExport and Database Query plug-ins here. Create fake parent profiles to organize your collection. |
|
Registered: March 13, 2007 | Reputation: | Posts: 2,217 |
| Posted: | | | | Quoting Mark Harrison: Quote: I know CSV files are outdated, but I used that feature all the time. It will be missed (and hopefully returned at some point). "Use the XML-Export, Luke" Okay, it will be one additional step to get the needed information, but that shouldn't be an unconquerable hurdle. cya, Mithi | | | Mithi's little XSLT tinkering - the power of XML --- DVD-Profiler Mini-Wiki |
|
Registered: March 13, 2007 | Posts: 55 |
| |
Registered: March 13, 2007 | Reputation: | Posts: 3,321 |
| Posted: | | | | Quoting dvdoug: Quote: Quoting Mark Harrison:
Quote: I know CSV files are outdated, but I used that feature all the time. It will be missed (and hopefully returned at some point).
You could write a plugin... That's an excellent idea. Thanks Doug! | | | Get the CSVExport and Database Query plug-ins here. Create fake parent profiles to organize your collection. |
|
Registered: March 13, 2007 | Reputation: | Posts: 3,436 |
| Posted: | | | | Quoting Mark Harrison: Quote: I know CSV files are outdated, but I used that feature all the time. It will be missed (and hopefully returned at some point). Same here... Quoting Mithi: Quote: "Use the XML-Export, Luke" Okay, it will be one additional step to get the needed information, but that shouldn't be an unconquerable hurdle. I don't know a lot about XSLT; and I know that you do. Would you mind if I PMed you upon this...? | | | Achim [諾亞信; Ya-Shin//Nuo], a German in Taiwan. Registered: May 29, 2000 (at InterVocative) |
|
Registered: March 13, 2007 | Reputation: | Posts: 3,321 |
| Posted: | | | | Quoting ya_shin: Quote: Quoting Mithi:
Quote: "Use the XML-Export, Luke" Okay, it will be one additional step to get the needed information, but that shouldn't be an unconquerable hurdle. I don't know a lot about XSLT; and I know that you do. Would you mind if I PMed you upon this...? Or share it for everyone. | | | Get the CSVExport and Database Query plug-ins here. Create fake parent profiles to organize your collection. |
|
Registered: March 13, 2007 | Reputation: | Posts: 3,436 |
| Posted: | | | | Quoting Mark Harrison: Quote: Or share it for everyone. Well, yeah, sure. But mine is rather "special", ebing that I only want some data and I didn't want Mithi flooded with special requests (which is possibly going to happen now...; then again, he could just write a basic tutorial ) Anyway, here's what I would need: Title|Collection Number|Region | | | Achim [諾亞信; Ya-Shin//Nuo], a German in Taiwan. Registered: May 29, 2000 (at InterVocative) |
|
Registered: March 13, 2007 | Reputation: | Posts: 2,217 |
| Posted: | | | | Quoting ya_shin: Quote: then again, he could just write a basic tutorial ) *cough*signature*cough* Quote: Anyway, here's what I would need: Title|Collection Number|Region see PS, but it's only tested with 2.4, as the XML 3.0 still is buggy and doesn't contain Collectionnumber at the moment. cya, Mithi PS <?xml version="1.0" encoding="ISO-8859-1"?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> <xsl:output method="text" encoding="ISO-8859-1"/> <xsl:template match="Collection"> <xsl:apply-templates select="DVD"><xsl:sort select="SortTitle"/></xsl:apply-templates> </xsl:template> <xsl:template match="DVD"> <xsl:if test="contains(CollectionType, 'Owned')"> <xsl:value-of select="Title"/> <xsl:text>;</xsl:text> <xsl:value-of select="CollectionNumber"/> <xsl:text>;</xsl:text> <xsl:apply-templates select="Regions"/> <xsl:text>
</xsl:text> </xsl:if> </xsl:template> <xsl:template match="Regions"> <xsl:for-each select="Region"> <xsl:value-of select="."/> <xsl:if test="not (position()=last())"> <xsl:text>, </xsl:text> </xsl:if> </xsl:for-each> </xsl:template> </xsl:stylesheet> | | | Mithi's little XSLT tinkering - the power of XML --- DVD-Profiler Mini-Wiki |
|
Registered: March 13, 2007 | Reputation: | Posts: 3,436 |
| Posted: | | | | Quoting Mithi: Quote: Quoting ya_shin:
Quote: then again, he could just write a basic tutorial ) *cough*signature*cough*
Oops. Thanks a lot for the code! Quote: see PS, but it's only tested with 2.4, as the XML 3.0 still is buggy and doesn't contain Collectionnumber at the moment. | | | Achim [諾亞信; Ya-Shin//Nuo], a German in Taiwan. Registered: May 29, 2000 (at InterVocative) | | | Last edited: by nuoyaxin |
|