djpretzel

OC ReMix Unveils Revolutionary New 3-Value Genre Classification System!

Recommended Posts

So if DJP said the tracks were mostly based on date (which is odd because for the most part I felt my mixposts seemed accurate), I'm now interested to know which date-range had tracks that were actually techno. :razz:

Nice gag yesterday!

Share this post


Link to post
Share on other sites

So, if anyone was wondering about the "coding" behind this wonderful feature:

  • We've got an existing set of tags in our database that were imported from the forum thread tags
  • If a mix was tagged "EDM" - that was techno
  • If a mix was tagged "synth" - that was possibly techno
  • If neither tag was present, that was probably not techno (maybe)

Our tags are FAR less complete on older mixes, so as you went back in time, fewer mixes were labeled techno or possibly techno :)

This was written in XSLT, so something like:

<xsl:choose>
<xsl:when test="/list/terms[./@name = 'EDM']">Techno</xsl:when>
<xsl:when test="/list/terms[./@name = 'synth']">Possibly Techno</xsl:when>
<xsl:otherwise>Probably Not Techno (Maybe)</xsl:otherwise>
</xsl:choose>

Share this post


Link to post
Share on other sites
So, if anyone was wondering about the "coding" behind this wonderful feature:

  • We've got an existing set of tags in our database that were imported from the forum thread tags
  • If a mix was tagged "EDM" - that was techno
  • If a mix was tagged "synth" - that was possibly techno
  • If neither tag was present, that was probably not techno (maybe)

Our tags are FAR less complete on older mixes, so as you went back in time, fewer mixes were labeled techno or possibly techno :)

This was written in XSLT, so something like:

<xsl:choose>
<xsl:when test="/list/terms[./@name = 'EDM']">Techno</xsl:when>
<xsl:when test="/list/terms[./@name = 'synth']">Possibly Techno</xsl:when>
<xsl:otherwise>Probably Not Techno (Maybe)</xsl:otherwise>
</xsl:choose>

Wow, now this actually makes a lot of sense! When you mentioned "date" in avaris's recent mixpost, I felt as if I seemed to be missing something, but now I understood the magic.

Thanks for the clarification! :-)

Share this post


Link to post
Share on other sites
So, if anyone was wondering about the "coding" behind this wonderful feature:

  • We've got an existing set of tags in our database that were imported from the forum thread tags
  • If a mix was tagged "EDM" - that was techno
  • If a mix was tagged "synth" - that was possibly techno
  • If neither tag was present, that was probably not techno (maybe)

Our tags are FAR less complete on older mixes, so as you went back in time, fewer mixes were labeled techno or possibly techno :)

This was written in XSLT, so something like:

<xsl:choose>
<xsl:when test="/list/terms[./@name = 'EDM']">Techno</xsl:when>
<xsl:when test="/list/terms[./@name = 'synth']">Possibly Techno</xsl:when>
<xsl:otherwise>Probably Not Techno (Maybe)</xsl:otherwise>
</xsl:choose>

Hah, that's much simpler than the one I posted 2 pages ago. :lol:

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.