Discuss Scratch
- Discussion Forums
- » Suggestions
- » The 7th Suggestion Directory
- SavetheAtlantic
-
1000+ posts
The 7th Suggestion Directory
I have a spreadsheet of every topic in the Suggestions forum posted on at least once in the past year. I'm not sure how I could share it though.
- imfh
-
1000+ posts
The 7th Suggestion Directory
I could pull the data from ScratchDB if I wanted it. I'm not sure that I do, though. It would be very difficult to write a description for every topic and it would also take up a lot of room. I have a spreadsheet of every topic in the Suggestions forum posted on at least once in the past year. I'm not sure how I could share it though.
I'm going to stick with the previous rule of at least 2 pages and must have duplicates if not 4 pages for now. With the script, it wouldn't be hard to get rid of those rules, but adding topics with just 1 or 2 posts isn't necessarily a good thing.
- SavetheAtlantic
-
1000+ posts
The 7th Suggestion Directory
Of course. I scraped the data from the forum pages themselves, so you can sort by the number of replies. The issue is; it doesn't come with links and it doesn't specify if the topics are closed. I just thought it might be helpful since the directory really hasn't been expanded much to include newer suggestions in the past few years.I could pull the data from ScratchDB if I wanted it. I'm not sure that I do, though. It would be very difficult to write a description for every topic and it would also take up a lot of room. I have a spreadsheet of every topic in the Suggestions forum posted on at least once in the past year. I'm not sure how I could share it though.
I'm going to stick with the previous rule of at least 2 pages and must have duplicates if not 4 pages for now. With the script, it wouldn't be hard to get rid of those rules, but adding topics with just 1 or 2 posts isn't necessarily a good thing.
- Basilikos
-
1000+ posts
The 7th Suggestion Directory
Leaving my mark… this is an historic moment.
It's an honour being on the second page of a soon to be sticky.
It's an honour being on the second page of a soon to be sticky.
- PGBFLITE6373
-
1000+ posts
The 7th Suggestion Directory
Jeez, Ive witnessed how amny suggestions directories now? 4?
- Crispydogs101
-
1000+ posts
The 7th Suggestion Directory
This is actually good. Hope this gets sticked!
- medians
-
1000+ posts
The 7th Suggestion Directory
Well.. congrats on sticky. This is actually good. Hope this gets sticked!
Last edited by medians (Jan. 21, 2023 22:59:42)
- medians
-
1000+ posts
The 7th Suggestion Directory
Edit:
Topic: https://scratch-mit-edu.ezproxyberklee.flo.org/discuss/topic/29255/
Description: A suggestion about adding layers to the pen.
Keywords: pen, block, layer, draw
Duplicates: 458363, 532007, 547749
Last edited by medians (Jan. 22, 2023 03:06:41)
- imfh
-
1000+ posts
The 7th Suggestion Directory
I wrote the script to import the old directory, but I haven’t adjusted it for posts made in this topic yet. I’ll add this once that’s done. -snip-
- k0d3rrr
-
1000+ posts
The 7th Suggestion Directory
Whoa, congratulations on owning the new Suggestion Directory!
- An0therRand0mC0der
-
1000+ posts
The 7th Suggestion Directory
Adding topicsI feel like this could backfire somehow, like someone puts a joke topic or something.
If you would like a topic to be added, make a post containing something exactly like the below. It must match exactly because I use a script to generate the topic. I plan to make a project which will make this easier.
Links to topics can either be a full url or just the number at the end. The suggestion must have at least 2 pages. You do not need to link duplicates if the topic has at least 4 pages.Topic: https://scratch-mit-edu.ezproxyberklee.flo.org/discuss/topic/657522/
Description: Short, one line description of topic.
Keywords: keywords, separated, by, commas
Duplicates: 212472, 382706
- SavetheAtlantic
-
1000+ posts
The 7th Suggestion Directory
Do you genuinely think imfh won't just check it out first before adding it I feel like this could backfire somehow, like someone puts a joke topic or something.
- imfh
-
1000+ posts
The 7th Suggestion Directory
The script isn’t fully automatic. It reads the forum, updates topics, and regenerates the directory, then I have to edit each post and paste the new content. If someone adds a joke topic or something, I can just remove it when I run the script.I feel like this could backfire somehow, like someone puts a joke topic or something. -snip-
If people abuse the script, then I’ll have to do something about it, but until then, it will make things a whole lot easier.
Last edited by imfh (Jan. 22, 2023 04:01:13)
- PGBFLITE6373
-
1000+ posts
The 7th Suggestion Directory
I have a project that does “Adding topics” as a form basically, just needs a little changing. (it's pretty simple) However, it uses the center tags to simulate enters, because enters don't work in lists. I would like to post it, however, would the center tags mess with the script?
- imfh
-
1000+ posts
The 7th Suggestion Directory
I think I finalized how the parsing will work. Try the project with this regex code. It should show the topic id, description, category, etc. in the sidebar. I have a project that does “Adding topics” as a form basically, just needs a little changing. (it's pretty simple) However, it uses the center tags to simulate enters, because enters don't work in lists. I would like to post it, however, would the center tags mess with the script?
https://regex101.com/r/EKKTK5/1
If anyone is interested, here the regex used. I recommend pasting this into VSCode with Python syntax formatting since it should provide highlighting for the regex.
SCAN_PATTERN = r"\s*(?:\[center\]\[/center\])?".join(( r"\[b\](?:(?P<action>\w*?) )?Topic:\[/b\] *.*?(?P<topic>\d+).*?", r"(?:\[b\]Reason:\[/b\] (?P<reason>.+))?", r"(?:\[b\]Category:\[/b\] (?P<category>.+))?", r"(?:\[b\]Description:\[/b\] (?P<description>.+))?", r"(?:\[b\]Keywords:\[/b\] (?P<keywords>.+))?", r"(?:\[b\]Duplicates:\[/b\] (?P<duplicates>.+))?", ))
- Discussion Forums
- » Suggestions
-
» The 7th Suggestion Directory