You're viewing old version number 8. - Current version
Enable wiki link feature to non-existing articles
enabled the function to only work when saving a post and not on preview - 6sep2013
changed to inprogress on 5sep2013
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. done on 5sep2013
The post body text will contain only a hashtag called draftstub and the power command for draft equals yes. done on 5sep2013
Then on the user profile page, show:
5sep2013 - still need to add this info to the user profile page.
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. done on 5sep2013
follow-up to above paragraph - 5sep2013 - the non-existent post is created during Preview. Should I change this so that during preview, the "non-existent" post is not created, so that I can see that it's a non-existent post, but when the post is saved, then the new stub post is created? Tags are not created within the database during preview.
I may back out this feature,or make it a config param. [still need to implement -6sep2013] It was easy to implement, since I already had REST code in place for adding a blog and a microblog. The code makes a REST call to itself to add the blog stub in draft mode. But I think that I'll do this after the blog post is saved and not during the preview stage. And I think that I'll add this function as a config param too.
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. done on 5sep2013
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.
From JR's : articles
487 words - 2603 chars
- 2 min read
created on
updated on
- #
source
- versions
Related articles
In Progress - Add webmention client code to Junco - Oct 21, 2013
In Progress - Migrating content to live site - Dec 06, 2013
In Progress - Junco end-user testing - Oct 17, 2013
In Progress - Add Microformats support - Oct 07, 2013
Resolved - Add keyboard shortcuts to split-screen typing mode - Mar 28, 2014