on another matter relating to serving files from google code:

i have  a web site that serves pages and image content direct from
google code and there is a puzzlinh inconsistency in the way those
pages are served.

accessing images direct from the repository works fine; e.g.
<img src="http://iccle.googlecode.com/svn/trunk/share/img/
bayesVsOthers.png">

also, i can slurp in page content using curl under php using similar
style URLs (i.e. direct to iccle.googlecode.com/svn/trunk...)

but, i'm i try to serve my css style sheets from google code (e.g.
http://iccle.googlecode.com/svn/trunk/doc/site/screen.css) then
something goes wrong and the page renders as if it can't find the
style sheet.

i can't tell is this an issue at the google end or if it is  a matter
that i should raise with my ISP

comments anyone?

thanks!
tim menzies


On Sep 11, 3:45 pm, xliteration <[EMAIL PROTECTED]> wrote:
> Thanks a lot, Doug. Also, I was reading somewhere that you can set the
> mime-type of file to text/html. Is that for svn only or downloads
> also?
>
> Also, I guess google code hosting does not have bandwidth quotas, only
> disk quotas. right?
>
> Last, but not the least - how do I update a JS file after more than 50
> downloads? I don't want to create versions in my downloads since a
> bookmarklet will keep on referencing the old JS download.
>
> Many thanks,
> ~ Xliterate
>
> On Sep 11, 1:18 pm, doug <[EMAIL PROTECTED]> wrote:
>
> > The reason the browser pops up that dialog is that the Downloads
> > feature sets an HTTP header called "Content-Disposition" that tells
> > the browser to treat the contents as an "attachment".  However,
> > browsers don't do this for all static content: it applies to HTML, but
> > not to <script src> or <img>.  This is why many projects serve
> > their .js files using the Downloads feature.
>
> > You should serve your .html files from your Subversion repository
> > (http://indic.googlecode.com/svn/).  Your indic project doesn't have
> > any content checked in yet, so you'll need to use svn to add the
> > content.  You can find instructions on how to do this 
> > athttp://code.google.com/p/indic/source/checkout
>
> > On Sep 9, 1:38 pm, xliteration <[EMAIL PROTECTED]> wrote:
>
> > > I don't want to use GModules hosting if I can use Google Code for
> > > serving the js files. I am hoping somebody can clarify these doubts.
>
> > > On Sep 8, 12:31 pm, xliteration <[EMAIL PROTECTED]> wrote:
>
> > > > Hi,
>
> > > > I recently started an open source project 
> > > > onhttp://code.google.com/p/indic/
>
> > > > One of the pieces of code is a bookmarklet which users can download to
> > > > use transliteration on any web page. That means serving files out of
> > > > the downloads section of the website. The JS files are being served ok
> > > > but I want to know if Google Code is a reliable solution (bandwidth/
> > > > latency wise) to serve files to users.
>
> > > > Secondly, I tried to create a bookmarklet which fetches HTML file from
> > > > google code and it prompts to download HTML file instead of opening
> > > > it. Maybe, that is intended by design (security concerns?). I was
> > > > wondering if there is another way to do that.
>
> > > > Third, if I update a JS file, since users have reference to old JS
> > > > file - what should I do to update the users? Google code disallows me
> > > > to change the file contents of a file made available for download.
>
> > > > Thanks.
> > > > ~ Xliterate
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Hosting at Google Code" 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-code-hosting?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to