The other strange thing is that robots.txt is apparently being served correctly (no errors from webmaster tools) and being a txt I would expect the same error as my txt sitemap
On Aug 9, 12:15 pm, John_Idol <[email protected]> wrote: > Ok, > > I jst noticed I was doing the opposite of what you suggested, from the > doc: > > To serve a file with a custom MIME type, make the file a resource file > instead of a static file, and create a servlet that serves the data > with the custom MIME type. > > Does this mean I have to make my sistemaps resource files in the > appengine-web.xml and implement a servlet just to serve them as text? > > On Aug 9, 12:12 pm, John_Idol <[email protected]> wrote: > > > > > Hi Nick - thanks for your help, I tried with: > > > <static-files> > > <include path="/**.xml" /> > > <include path="/**.txt" /> > > </static-files> > > > in my appengine-web.xml but now I am getting errors on the otherpages: > > > WARNING: Can not serve /index.htmldirectly. You need to include it > > in <static-files> in your appengine-web.xml. > > > If I includehtmlfiles then it complains about pngs and so forth :) > > > Any help appreciated! > > > On Aug 9, 11:28 am, "Nick Johnson (Google)" <[email protected]> > > wrote: > > > > Hi John, > > > > If the mime-type being served is incorrect, you need to specify it > > > manually - see the docs on static handlers for > > > Python:http://code.google.com/appengine/docs/python/config/appconfig.html#St... > > > and > > > Java:http://code.google.com/appengine/docs/java/config/appconfig.html#Stat... > > > > -Nick Johnson > > > > On Sat, Aug 8, 2009 at 4:56 PM, John_Idol<[email protected]> wrote: > > > > > I have a very simple txt sitemap (named sitemap.txt) that looks like > > > > this: > > > > >http://myDomain.com > > > >http://myDomain.com/about.html > > > >http://myDomain.com/faq.html > > > >http://myDomain.com/careers.html > > > > > When I load it up on webmaster tools I get: > > > > > Sitemap isHTML- Your Sitemap appears to be anHTMLpage. Please use > > > > a supported sitemap format instead > > > > > I tried a few alternatives (such as with or without www) but no luck. > > > > > I tried also with an xml sitemap and getting the same error so it > > > > looks like the server isservingeverything as text/htmlinstead of > > > > text/plain.. > > > > > Now the question is ... how do I get the appspot server to server text > > > > as plain? > > > > > Anyone any clue? > > > > > Any help appreciated! > > > > > P.S. if I am not posting in the appropriate group please tell me which > > > > one should I post to > > > > -- > > > Nick Johnson, Developer Programs Engineer,AppEngine --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~----------~----~----~----~------~----~------~--~---
