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 other
pages:
WARNING: Can not serve /index.html directly. You need to include it
in <static-files> in your appengine-web.xml.
If I include html files 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
-~----------~----~----~----~------~----~------~--~---