Loading ...
Sorry, an error occurred while loading the content.

Re: will removing whitespace (tabs and linebreaks) break an mrss file?

Expand Messages
  • riddlasuperstar
    heya! i think i mis-termed that. what i meant, was for example: [LINEBREAK] [TAB]
    Message 1 of 4 , Jul 31, 2009

      i think i mis-termed that.

      what i meant, was for example:

      <media:content ... </media:content>[LINEBREAK]
      [TAB]<media:rating .... </media:rating>[LINEBREAK]
      [TAB] .... [LINEBREAK]

      converting that to:

      <media:content ... </media:content><media:rating ... </media:rating></media:content>

      basically removing all the line breaks and tabs BETWEEN each tag, but of course, not altering the contents of the tags in any way.

      i havent done this yet btw, wanting to get a heads up from you guys first.

      i have already spoken to the folks at truveo, and they have told me as far as their parser, it will not break things.

      lemme know.


      --- In rss-media@yahoogroups.com, "nilesh.gattani" <nilesh_gattani@...> wrote:
      > Hi,
      > Just curious, where all are you removing your white spaces? For example :
      > if you convert <rss version="2.0" xmlns:media="http://search.yahoo.com/mrss/"> to <rssversion="2.0"xmlns:media="http://search.yahoo.com/mrss/"> , then its going to break your mrss file, as it breaks the xml structure itself.
      > If you are keeping the xml structure intact, and removing white spaces only from your content, then it should be fine technically, but then your content might loose readability. For e.g., removing spaces from the title of your vides would absolutely make no sense.
      > Thanks
      > -Nilesh
      > --- In rss-media@yahoogroups.com, "riddlasuperstar" <riddlariddla@> wrote:
      > >
      > > heya!
      > >
      > > so i like things to be perfect.
      > >
      > > and a byte saved, is well... a byte saved.
      > >
      > > so for the good of both my server, and yahoos servers... i would like to remove all the whitespace in my mrss files... just the tabs and linebreaks between each line.
      > >
      > > will this break an mrss file?
      > >
      > > thank you kindly,
      > >
      > > tomek.
      > >
    Your message has been successfully submitted and would be delivered to recipients shortly.