Welcome to the Invelos forums. Please read the forum rules before posting.

Read access to our public forums is open to everyone. To post messages, a free registration is required.

If you have an Invelos account, sign in to post.

    Invelos Forums->DVD Profiler: Desktop Technical Support Page: 1  Previous   Next
RIP CSV Export
Author Message
DVD Profiler Unlimited RegistrantMark Harrison
I like IMDB
Registered: March 13, 2007
Reputation: Great Rating
United States Posts: 3,321
Posted:
PM this userEmail this userVisit this user's homepageView this user's DVD collectionDirect link to this postReply with 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).
Get the CSVExport and Database Query plug-ins here.
Create fake parent profiles to organize your collection.
DVD Profiler Unlimited RegistrantStar ContributorMithi
Sushi Annihilator
Registered: March 13, 2007
Reputation: Superior Rating
Germany Posts: 2,216
Posted:
PM this userEmail this userVisit this user's homepageView this user's DVD collectionDirect link to this postReply with 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).

"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
DVD Profiler Unlimited Registrantdvdoug
As seen on Slashdot...
Registered: March 13, 2007
Posts: 55
Posted:
PM this userEmail this userVisit this user's homepageView this user's DVD collectionDirect link to this postReply with 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...
Doug

DougWeb.org - my personal site.
TWSNBN.com
Unofficial DVD Profiler Resource Centre - serving hundreds of users every month!
DVD Profiler Wiki
DVD Profiler Unlimited RegistrantMark Harrison
I like IMDB
Registered: March 13, 2007
Reputation: Great Rating
United States Posts: 3,321
Posted:
PM this userEmail this userVisit this user's homepageView this user's DVD collectionDirect link to this postReply with quote
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.
DVD Profiler Unlimited Registrantnuoyaxin
prev. known as ya_shin
Registered: March 13, 2007
Reputation: High Rating
Taiwan, Province of China Posts: 3,432
Posted:
PM this userEmail this userVisit this user's homepageView this user's DVD collectionDirect link to this postReply with 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).

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)
DVD Profiler Unlimited RegistrantMark Harrison
I like IMDB
Registered: March 13, 2007
Reputation: Great Rating
United States Posts: 3,321
Posted:
PM this userEmail this userVisit this user's homepageView this user's DVD collectionDirect link to this postReply with quote
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.
DVD Profiler Unlimited Registrantnuoyaxin
prev. known as ya_shin
Registered: March 13, 2007
Reputation: High Rating
Taiwan, Province of China Posts: 3,432
Posted:
PM this userEmail this userVisit this user's homepageView this user's DVD collectionDirect link to this postReply with quote
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)
DVD Profiler Unlimited RegistrantStar ContributorMithi
Sushi Annihilator
Registered: March 13, 2007
Reputation: Superior Rating
Germany Posts: 2,216
Posted:
PM this userEmail this userVisit this user's homepageView this user's DVD collectionDirect link to this postReply with quote
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>&#xa;</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
DVD Profiler Unlimited Registrantnuoyaxin
prev. known as ya_shin
Registered: March 13, 2007
Reputation: High Rating
Taiwan, Province of China Posts: 3,432
Posted:
PM this userEmail this userVisit this user's homepageView this user's DVD collectionDirect link to this postReply with quote
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
    Invelos Forums->DVD Profiler: Desktop Technical Support Page: 1  Previous   Next