Re: Please help with project setup

2006-06-07 Thread Kristoffer
Thanks, everyone, I have almost gotten things to work now! One thing I can't quite figure out, though, is the following: Say that I have Category defined as in http://code.djangoproject.com/wiki/CookBookCategoryDataModel (I use Django 0.91), with the exception that these lines def get_separ

Re: Please help with project setup

2006-06-01 Thread DavidA
Kristoffer wrote: > So, I have decided to use Docutils now, but I am a bit lost. > How do I do this http://code.djangoproject.com/wiki/UsingMarkup with > Docutils? > > Thanks, > Kristoffer Kristoffer, I think that document is a little misleading. Its more about saving the post-processed HTML out

Re: Please help with project setup

2006-06-01 Thread Kristoffer
So, I have decided to use Docutils now, but I am a bit lost. How do I do this http://code.djangoproject.com/wiki/UsingMarkup with Docutils? Thanks, Kristoffer --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Djang

Re: Please help with project setup

2006-05-31 Thread tekNico
> I have not decided yet, but Docutils and Markdown seem to have quite > similar syntax, so the fact that Docutils can export to other formats > than (X)HTML plays a decisive role for me. Apart from the fact that I've been using Docutils for years, it is more featureful than Markdown, and I like

Re: Please help with project setup

2006-05-31 Thread Kristoffer
David Larlet wrote: > I've just updated this page : http://code.djangoproject.com/wiki/UsingMarkup Thank you, that was helpful. > Can I know why did you choose Docutils? I'm just curious because I just have > to make this choice and my final option is markdown. Maybe I'm wrong (is it > deprecat

Re: Please help with project setup

2006-05-31 Thread David Larlet
2006/5/31, Kristoffer <[EMAIL PROTECTED]>: Brice Carpentier wrote:> Still wondering whether to use Textile (easy to learn and read) or> Docutils (easy to convert to basically almost any output format).Same here. I think I am going for Docutils, it's syntax is quite straightforward and I like its co

Re: Please help with project setup

2006-05-31 Thread Kristoffer
Brice Carpentier wrote: > Still wondering whether to use Textile (easy to learn and read) or > Docutils (easy to convert to basically almost any output format). Same here. I think I am going for Docutils, it's syntax is quite straightforward and I like its converting capabilities. One question,

Re: Please help with project setup

2006-05-31 Thread Brice Carpentier
On 5/30/06, David Larlet <[EMAIL PROTECTED]> wrote: > > 2006/5/30, tekNico <[EMAIL PROTECTED]>: > > > > While the two URLs are the same article expressed in two different > > human languages, I think that the mere translation process makes the > > two things different enough that it's not the same

Re: Please help with project setup

2006-05-31 Thread Brice Carpentier
On 5/30/06, tekNico <[EMAIL PROTECTED]> wrote: > > >> I suppose it would be ok for my article authors to mark up their > >> articles using simple HTML tags, like H1 and IMG, and save the entire > >> article as a TextField. It would be really great, though, if articles > >> could be converted to PD

Re: Please help with project setup

2006-05-30 Thread David Larlet
2006/5/30, tekNico <[EMAIL PROTECTED]>: > One may also consider one of the two articles to be the translation of> the other (which is what I plan on doing for my project), thus> considering the both to be different articles and having no > information on the language in the url.> So something like

Re: Please help with project setup

2006-05-30 Thread tekNico
> One may also consider one of the two articles to be the translation of > the other (which is what I plan on doing for my project), thus > considering the both to be different articles and having no > information on the language in the url. > So something like this : > "/articles/topic/subtopic/a

Re: Please help with project setup

2006-05-30 Thread tekNico
>> I suppose it would be ok for my article authors to mark up their >> articles using simple HTML tags, like H1 and IMG, and save the entire >> article as a TextField. It would be really great, though, if articles >> could be converted to PDF files automatically, and using HTML tags >> would ruin

Re: Please help with project setup

2006-05-30 Thread Scott Anderson
TinyMCE (http://tinymce.moxiecode.com/) is an RTE that was extremely easy to integrate with Django for me. There are processors which can convert HTML to PDF, as well, but how well they work depends on the HTML and CSS being used. Regards, -scott On Tue, 2006-05-30 at 11:22 +, Kristoffer w

Re: Please help with project setup

2006-05-30 Thread Brice Carpentier
On 5/30/06, Kristoffer <[EMAIL PROTECTED]> wrote: > > >The author was also able to add images elsewhere using the rich text > >editor we provided him with. > > This seems like what I want for this project. > However, if there isn't a rich text editor available that is easy to > plug in with Django

Re: Please help with project setup

2006-05-30 Thread Brice Carpentier
On 5/30/06, Kristoffer <[EMAIL PROTECTED]> wrote: > > >I would prefer a fourth option : > >d. /articles/topic/subtopic/article/display?lang=en > > This seems like a good way. However, how search engine friendly is it? > If I had links to /articles/topic/subtopic/article/display?lang=en and > /arti

Re: Please help with project setup

2006-05-30 Thread Kristoffer
>The author was also able to add images elsewhere using the rich text >editor we provided him with. This seems like what I want for this project. However, if there isn't a rich text editor available that is easy to plug in with Django, this option isn't for me. I suppose it would be ok for my ar

Re: Please help with project setup

2006-05-30 Thread Kristoffer
>I would prefer a fourth option : >d. /articles/topic/subtopic/article/display?lang=en This seems like a good way. However, how search engine friendly is it? If I had links to /articles/topic/subtopic/article/display?lang=en and /articles/topic/subtopic/article/display?lang=de, would say google i

Re: Please help with project setup

2006-05-30 Thread Brice Carpentier
On 5/30/06, Kristoffer <[EMAIL PROTECTED]> wrote: > 3. An article needs some basic layout, for example headlines and > images. The images for an article may vary from article to article. How > could I extend my model to achieve this? > For a project I worked on, which was Plone-driven, we defined

Re: Please help with project setup

2006-05-30 Thread Brice Carpentier
On 5/30/06, Kristoffer <[EMAIL PROTECTED]> wrote: > 2. Each article come in two languages. Which would be the best way to > achieve that? > a. /articles/topic/subtopic/article/en > b. /articles/en/topic/subtopic/article > c. /articles/topic/subtopic/article?en I would prefer a fourth option : d.

Re: Please help with project setup

2006-05-30 Thread Kristoffer
Thanks for your reply! I'll have a closer look at your suggestions for questions 1 and 2. A bit of clarification for question 3: The article authors need to include images in their articles. The number of images, if any, may vary from article to article. The images should also be "integrated" w

Re: Please help with project setup

2006-05-30 Thread David Larlet
2006/5/30, Kristoffer <[EMAIL PROTECTED]>: Hi all,I need to write a system where articles can be published and I amthining about using Django, and I am impressed!I have studied the tutorial but still have a few questions before I candecide if Django is the way to go for me. I'm in the same case so 

Please help with project setup

2006-05-30 Thread Kristoffer
Hi all, I need to write a system where articles can be published and I am thining about using Django, and I am impressed! I have studied the tutorial but still have a few questions before I can decide if Django is the way to go for me. 1. The articles are grouped in topics and up to an infinite