FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

HTML uploads and Media Types

 
Post new topic   Reply to topic     Forum Index -> Site
View previous topic :: View next topic  
Author Message
pragma



Joined: 28 May 2004
Posts: 607
Location: Washington, DC

PostPosted: Sat Dec 10, 2005 11:36 am    Post subject: HTML uploads and Media Types Reply with quote

I remember reading about the dsource's support for handling .html documentation in a special way when it is checked into SVN. Does anyone know the status of this, or was I thinking of something else?

Otherwise, I need a good way to assign a media type to a whole slew of files at one time, preferably on the command line. Any ideas?
_________________
-- !Eric.t.Anderton at gmail
Back to top
View user's profile Send private message Yahoo Messenger
jcc7



Joined: 22 Feb 2004
Posts: 657
Location: Muskogee, OK, USA

PostPosted: Sat Dec 10, 2005 10:47 pm    Post subject: Reply with quote

I think I know both methods that you're looking for (assuming you're using TortoiseSVN for "changing on add"). I put them on a wiki in the Tutorials project: http://trac.dsource.org/projects/tutorials/wiki/SvnTips
Back to top
View user's profile Send private message AIM Address
pragma



Joined: 28 May 2004
Posts: 607
Location: Washington, DC

PostPosted: Sun Dec 11, 2005 8:37 am    Post subject: Reply with quote

Thanks! Smile
_________________
-- !Eric.t.Anderton at gmail
Back to top
View user's profile Send private message Yahoo Messenger
brad
Site Admin


Joined: 22 Feb 2004
Posts: 490
Location: Atlanta, GA USA

PostPosted: Sun Dec 11, 2005 8:51 am    Post subject: Reply with quote

Let's just make sure that you need to do this, Eric.

Are you wanting the files to show up as HTML in either svn.dsource.org code browser or trac.dsource.org code browser? If so, is it for a public docs site, something like mango.dsource.org? I have taken steps to obviate the need for the mime-type handling in SVN by adding post-commit-scripts (mostly working, just need more testing) that export your 'docs' folder in your SVN repos to a different location on the server and they're directly served by Apache in your project's tertiary domain name, i.e. ddl.dsource.org All you need is an index.html in there and you're all set.

If this is the case, I can get it set up for you. If not, then disregard this message.

BA
Back to top
View user's profile Send private message
pragma



Joined: 28 May 2004
Posts: 607
Location: Washington, DC

PostPosted: Sun Dec 11, 2005 12:59 pm    Post subject: Reply with quote

brad wrote:
If this is the case, I can get it set up for you. If not, then disregard this message.

BA


Ahh.. well in that case, I'd like to do this. DDL presently has the same doc structure as mango, and its all in the SVN repo right now. Just let me know if there's anything more I should do.

Thanks! Smile
_________________
-- !Eric.t.Anderton at gmail
Back to top
View user's profile Send private message Yahoo Messenger
brad
Site Admin


Joined: 22 Feb 2004
Posts: 490
Location: Atlanta, GA USA

PostPosted: Thu Dec 15, 2005 5:59 pm    Post subject: Reply with quote

pragma wrote:
Ahh.. well in that case, I'd like to do this. DDL presently has the same doc structure as mango, and its all in the SVN repo right now. Just let me know if there's anything more I should do.

Thanks! Smile


Nothing. It's up and running as we speak.

Although next time you change the docs, I'd like to know if the site updated. It works when I run the script manually, but should fire off automatically when the svn commit involves /trunk/doc/html/. For some reason it's not firing for Mango and other projects.

BA
Back to top
View user's profile Send private message
lindquist



Joined: 14 Sep 2006
Posts: 55
Location: Copenhagen, Denmark

PostPosted: Wed Dec 06, 2006 1:29 am    Post subject: Reply with quote

I have committed html documentation for MinWin in minwin/trunk/minwin/docs/html and would like people to able to browse it easily.

can I get a script set up? or should I do the mime-type property thing?
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> Site All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group