89 Commits

Author SHA1 Message Date
d11b229691 No more undefined content in link and category
It seems that undefined content is only mentioned in RFC4287 because
link and category are elements and those usually need some content.
2024-10-17 18:57:43 +02:00
e73b78ef30 Content can also be empty 2024-10-17 18:40:52 +02:00
5a82f1799f Force undefined content of category and link to be empty or valid xml 2024-10-17 18:39:57 +02:00
73624eadd8 More ",chardata" 2024-10-17 18:15:41 +02:00
17aa4b1a15 Streamline type check in content constructs 2024-10-17 18:12:56 +02:00
040d7a6b7b Create xhtmlDiv.go 2024-10-17 18:12:23 +02:00
705b651f08 Make undefined content in category and link type string 2024-10-17 18:11:06 +02:00
4b97bf7fdc Simplify inline text content 2024-10-17 17:33:33 +02:00
86785be588 More ",chardata" 2024-10-17 17:19:43 +02:00
28f5616f76 Make uri in id and text in plain text xml type ",chardata" 2024-10-17 17:14:10 +02:00
657624cbd6 Small bug fix 2024-10-17 16:56:46 +02:00
b496ac3691 Allow the user to generate a valid iri based on a uuid 2024-10-17 16:52:03 +02:00
13e7a16178 Let the user define their own iri 2024-10-17 16:51:40 +02:00
3734a3eb3d More complete check within isValidMediaType 2024-10-17 16:46:40 +02:00
e0902d9ba4 Fix source check in entry 2024-10-17 05:34:32 +02:00
434783165b Add needed checks for link if attributes are empty 2024-10-17 05:18:02 +02:00
46138d302b Fix bug in link check 2024-10-17 05:13:17 +02:00
6b9d5be734 Act as if there is an author in the feed when only checking the entry v0.1.5 2024-10-17 05:05:14 +02:00
2ef8d8c9df Fix nil dereference bug in entry checkAuthors v0.1.4 2024-10-17 04:55:28 +02:00
97fe20f364 Add missing methods to entry v0.1.3 2024-10-16 21:35:24 +02:00
0c24f80d09 Rename package to atom v0.1.2 2024-10-16 21:28:04 +02:00
c5a6e0c44f Change module description in go.mod v0.1.1 2024-10-16 21:08:37 +02:00
3774f41f1b Changed README v0.1.0 2024-10-16 20:35:44 +02:00
7a2e79d205 Corrected LICENSE 2024-10-16 20:30:02 +02:00
e12cd132d9 Small comment clean up 2024-10-16 20:24:43 +02:00
03ec0d2ddf Remove unused stuff 2024-10-16 20:23:52 +02:00
4220a2acc6 Added and corrected comments 2024-10-16 19:59:28 +02:00
6a76bdc0c3 Small changes 2024-10-16 18:41:42 +02:00
31cc803440 Create NewLogo and add checks 2024-10-16 18:33:23 +02:00
f11dee630d Make isText private 2024-10-16 18:31:24 +02:00
f8c36a7045 Change title to string type and add checks 2024-10-16 18:31:13 +02:00
4fe133a394 Create isValidMediaType and isValidLanguageTag 2024-10-16 18:30:22 +02:00
39bd0776c5 Correct AddExtension for entry and person 2024-10-16 17:38:03 +02:00
082e71a698 Change URI to IRI after finding validation pattern 2024-10-16 17:33:25 +02:00
b76e529ca3 Created NewLink 2024-10-16 17:17:41 +02:00
bc9fd49d18 Add checks to id 2024-10-16 17:07:57 +02:00
a65aa0a740 Create NewIcon and appropriate checks 2024-10-16 17:03:23 +02:00
566227773e Create NewGenerator and checks for the generator construct 2024-10-16 16:58:58 +02:00
92d71fdbde Fix wordings 2024-10-16 16:54:26 +02:00
f27116930a Correctly escape strings if needed and check for it 2024-10-16 16:51:39 +02:00
c200d5bf73 Create isValidURN and isValidURI and use isValidURI everywhere where it is needed 2024-10-16 16:48:44 +02:00
14696371e2 Create and use isValidURL 2024-10-16 16:14:34 +02:00
4f70da9a17 Add NewCategory 2024-10-15 22:17:10 +02:00
1f7f7966ef Add check for whether a mime type is used for inline other and out of line content 2024-10-15 21:47:13 +02:00
7764589dd3 Add NewContent 2024-10-15 21:14:30 +02:00
9df834d927 Add newOutOfLineContent 2024-10-15 21:13:46 +02:00
ea79900bf3 Correct typo 2024-10-15 21:10:12 +02:00
b26d6370f5 Add newInlineOtherContent 2024-10-15 21:01:40 +02:00
15b74c2675 Add newInlineXHTMLContent 2024-10-15 20:53:01 +02:00
d96e2c61bb Just moving code around, no change 2024-10-15 20:52:35 +02:00