You're viewing old version number 2. - Current version

1 min

Enable wiki link feature to non-existing articles

When using the double brackets around a title, if the title of the post does not exist, enable the system to automatically create a post with that title.

The post body text will contain only a hashtag called draftstub and the power command for draft equals yes.

Then on the user profile page, show:

Draft Blog Posts : 10 --- Stubs : 8

The 8 count for Stubs would come from the tag count for draftstub for the user.

The 8 would be a link that shows the posts with that hashtag. These are not private posts. But they do not appear on the front page.

Problem: If I make a mistake with the title text that's surrounded by the double bracket case, and I'm unaware of the mistake, a draft stub post is created, and I may not realize it until I click that link within the post or I view the number of draft stubs on my profile page. I would need to delete mistakes, I guess. And test to ensure the links work.

In a wiki like my Parula code that powers ToledoTalk.com, the link to a non-existent post is displayed in red, so that it's obvious. But in this new proposed system, the link does point to an existing post because the stub post is automatically created.

I think that I'll employ this feature as described above because I do not want to track and edit all posts that link to the non-existent or stub post and update the posts with the link to change the link color, etc., as I do with the wiki code in Parula.

To function similar to Parula, I would need to maintain another database table of titles for non-existent or stub posts.

#junco
#juncotodo

From JR's : articles
294 words - 1565 chars - 1 min read
created on
updated on - #
source - versions

Related articles
In Progress - Migrating content to live site - Dec 06, 2013
In Progress - Add webmention client code to Junco - Oct 21, 2013



A     A     A     A     A

© 2013-2017 JotHut - Online notebook

current date: Nov 14, 2024 - 11:45 p.m. EST