Dev.SN
Dev.SN ♥ developers
https://dev.soylentnews.org/
Title | | Testing Factors for Character Entity and UTF-8 fixes |
Date | | Thursday November 20 2014, @01:39PM |
Author | | martyb |
Topic | | |
from the what-goes-where dept. |
https://dev.soylentnews.org/article.pl?sid=14/11/20/1737231
martyb writes:
Test factors for validating implementation of character entities and UTF-8 characters throughout SN.
These are the variables to permute:
- Characters under test: (cf: Trying some UTF-8 characters; POT, 0x0000 - 0x07ff POT, and 0x0800 - 0x0fff; POT)
- ampersand,
- less-than,
- greater-than,
- quote,
- Sampling of other named character entities,
- sampling of UTF-8 1-octet chars,
- sampling of UTF-8 2-octet chars,
- sampling of UTF-8 3-octet chars,
- sampling of UTF-8 4-octet chars (requires MySQL database update).
- Ordering of less-than and greater-than characters. (Slashcode has processing to strip HTML end elements which lack matching start elements.)
- Character representation:
- literal character,
- named character entity,
- decimal numeric character entity,
- hexadecimal numeric character entity.
- Text entry location (places where user input is obtained for later display):
- Story Submission (e.g. http://soylentnews.org/submit.pl):
- "Your Name",
- "Your Email or Homepage",
- "Title",
- "The Scoop",
- Editor's story processing (e.g. http://soylentnews.org/submit.pl?op=viewsub&subid=4848&title=Coal+Plants+Get+New+Lease+on+Life+with+Natural+Gas and then after Preview: (http://soylentnews.org/admin.pl) and then after approval, go in and edit the story again: (http://soylentnews.org/admin.pl?op=edit&sid=14/11/20/1556209.)
- "Dept" (e.g. from the hyphenated-words dept.),
- "Intro Copy" text area,
- "Extended Copy" text area,
- "Media" text area,
- Comment reply to a story (http://soylentnews.org/comments.pl?sid=4950&op=reply&threshold=-1&commentsort=0&mode=improvedthreaded#post_comment:
- "Subject",
- "Comment" text area
- Journal article submission: (http://soylentnews.org/my/journal and then click Write in Journal):
- "Subject",
- "Entry" text area,
- Journal Reply/Comment entry
- "Subject",
- "Comment"
- Poll creation (cf: http://soylentnews.org/pollBooth.pl) (Need help here; never submitted a poll before!)
- text(?),
- poll comment(?)
- Poll responses:
- "Subject" (??),
- "Comment" (??),
- Other (??)
- User preferences (http://soylentnews.org/my/info — "User" tab:
- "Real Name",
- "Email Address",
- "Homepage",
- "AIM",
- "ICQ UIN",
- "Yahoo! ID",
- "Jabber",
- "Public Calendar",
- "Mobile Text Address",
- "Sig" (120 chars),
- "Bio" (255 chars).
- Homepage - "User Space" text area (http://soylentnews.org/my/homepage) i.e. "If you choose 'User Space' above, the contents of this box will be inside:"
- Anything else?
- Story submission / comment submission format:
- "Plain Old Text",
- "HTML Formatted",
- "Extrans (html tags to text)",
- "code"
- Text viewing location:
- On-line web page,
- Print formatted story (printer icon) (e.g. http://soylentnews.org/print.pl?sid=14/11/20/1556209),
- e-mailed story,
- web message,
- RSS feed,
- Atom feed,
- "Authors page" (e.g. http://soylentnews.org/authors.pl),
- Author's Story list page (e.g. http://soylentnews.org/search.pl?op=stories&author=76),
- News Feed (NNTP) (How do we do this?),
- "Palm" (How do we do this?),
- Search results page (e.g. from using: http://soylentnews.org/search.pl).
- User's Info Page: (e.g. http://soylentnews.org/~martyb/),
- Comment list section as displayed here,
- Additional comments: next batch of comments and following,
- Recent Submissions section.
- PollBooth slashbox
- Poll Results (e.g. http://soylentnews.org/pollBooth.pl?qid=51&aid=-1
- Preview count: how many times a user has previewed a story submission or [journal|story] comment prior to submitting (preview has had some issues in the past.):
- Once,
- Twice,
- Thrice
If I have missed any user-visible input/output/modification location, please reply and let me know!
- "martyb" - https://dev.soylentnews.org/~martyb/
- "Trying some UTF-8 characters; POT" - http://soylentnews.org/comments.pl?sid=3316&cid=82372
- "0x0000 - 0x07ff POT" - http://soylentnews.org/comments.pl?sid=3316&cid=82377
- "0x0800 - 0x0fff; POT" - http://soylentnews.org/comments.pl?sid=3316&cid=82381
- "Write in Journal" - http://soylentnews.org/journal.pl?op=edit
- "next batch of comments" - http://soylentnews.org/users.pl?op=userinfo&uid=76&min_comment=24
© Copyright 2024
- Soylent News, All Rights Reserved
printed from Dev.SN, Testing Factors for Character Entity and UTF-8 fixes on 2024-05-04 17:11:10