מבנה ושכפול של תכני קטגוריות בתוך דיסקורס ובין אתרי דיסקורס

אני משתמש ב-Discourse כדי לתעד את החלקים והרכיבים של חוק מסוים לאחרונה וברצוני להשתמש בקטגוריה ובתוכן הקיימים עבור אותו חוק כדי לאכלס תחילה קטגוריה המתמקדת בביטול אותו חוק.

אז קטגוריה א’ עם תוכן → קטגוריה ב’ האם יש מחשבות לגבי ייצוא/ייבוא טוב לקטגוריות בתוך Discourse?

שקלתי להקים Discourse חדש עבור עבודת קטגוריה ב’ על תת-דומיין, דומיין אחר, כלומר דומיין המתמקד במאמץ הביטול או אתר המתמקד בטקסט עצמו של חוק הביטול.

כמו כן, קשור אולי: האם מישהו עשה הגדרת סנכרון מקטגוריה כלשהי של Discourse לקטגוריה זהה/דומה במופע Discourse אחר?

Do you want to create just subcategories or also the topics?

You can export a category… Maybe it’s here: Administrative Bulk Operations

2 לייקים

Thanks for that! It is useful but to answer your question, no subcategories, just one categories’ contents into another, once and done. I am trying to avoid duplicating manually but as I work on the manual approach I am reminded the topic title can’t be reused so I need to append/modify the title and change the contents to need text or placeholder.

I am probably conflating things a bit as I get my head wrapped around things. Also, I am trying to avoid use some actual links that would help with articulating my needs given the highly political nature of the bill in question. :wink:

Hopefully this helps.

For individual topics without all the index and chapter stuff
Category A
Sec. 10101. Re-evaluation of thrifty food plan tagged Enrolled-Text
Law-as-Amended | Sec. 10101. Re-evaluation of thrifty food plan tagged Law-as-Amended
Impact | Sec. 10101. Re-evaluation of thrifty food plan tagged Impact

Category B
Draft | Sec. 10101. Re-evaluation of thrifty food plan tagged Draft
Ready-to-Publish | Sec. 10101. Re-evaluation of thrifty food plan tagged Ready-to-Publish
Published | Sec. 10101. Re-evaluation of thrifty food plan tagged Published (the text would be pubished on a seperate single focus site.)

You can change that in the site settings: Allow duplicate topic titles

5 לייקים

כן, אני צריך להשתמש בזה עבור אותם מיילים שחוזרים על נושא

לייק 1

I could not see a workable path using some mix of the rails queries suggested by @pfaffman but his subcategories prompt was very useful.
I was reticent to Allow duplicate topic titles as @Moin suggested but turns out the result was not confusing, at least to me, as I feared it would be.

So… category A for the original bill, two subcategories for Law as Amended and Impact, create new mirrored tag groups for the two subcategories using existing tags, then create new topics with placeholder text for each of the Sections of the original bill. This part is rather brain numbing :persevering_face: given the there are 307 sections/topics in category A. 614 manually created topics, yikes.

I thought turning off Allow duplicate topic titles would be best once we open the forum to users but I believe that would make any edits in the topics un-savable which won’t work with topics as wikis.

In practice allowing duplicate titles may not create the confusion I fear but..

Does it makes sense to have warning that prompts the user to adjust the title instead of just allowing the topic save to proceed? Maybe something similar to:

But with different text and selecting OK saves the topic.

“The topic title you are attempting to use has been used at least once before. Please consider revising the title or, the duplicate title is needed or desired, please proceed with the save.”

כותרות נושאים כפולים זה בסדר, יש לי מאות מהן. מטרת ההיתר שלי לכותרות כפולים מועילה בעת חיפוש במסד הנתונים, אולי זה לא בשבילך?

אני יותר חושש משמות קטגוריות כפולים.

Not doing that for certain :slight_smile:

אני אשם בשמות קטגוריות משנה כפולים בקטגוריות אב שונות

לייק 1

זה היה גורם למוח הקטן שלי להתפוצץ.
לא ידעתי שחתולים ותת-חתולים יכולים להיות בעלי כותרות כפולות, אולי כפילויות עם שבלולים שונים, אני מניח.

I might be wrong because i haven’t tried two parent categories with same name, from a quick look at my hundreds of categories.

I think the slug is designed to be legible to a human or search engine indexer, if relevant :wink:

אני לא חושב כך, ה-slug כאן די קריא
omitted://meta.discourse.org/c/support/6

2 לייקים