122 Commits

Author SHA1 Message Date
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
31b6e51cb8 Add newInlineTextContent 2024-10-15 20:47:16 +02:00
4bad8ae99f Allow for empty type in NewText 2024-10-15 20:09:18 +02:00
068f61dc2c Simplify NewText 2024-10-15 20:03:09 +02:00
987feb8226 Check if the type of contents is a composite media type 2024-10-15 19:53:17 +02:00
6322566a54 Add function to check if the media type is composite 2024-10-15 19:46:45 +02:00
209059f2b4 Move the parsing of the media type to isXMLMediaType 2024-10-15 19:46:26 +02:00
e3b9ff0225 Move isXMLMediaType to atom.go 2024-10-15 19:40:13 +02:00
b08b62e794 Add check for summary element of entry 2024-10-15 19:32:14 +02:00
9920e077eb Add hasAlternateDuplicateLinks check to entry 2024-10-15 18:46:19 +02:00
6782d0c847 Move hasAlternateDumplicateLinks from feed to link in order to also use it elsewhere 2024-10-15 18:44:02 +02:00
656ae8ad46 Add comments to author checks 2024-10-15 18:40:32 +02:00
4f3135dcc6 Add comment to alternateRelExists check 2024-10-15 18:37:54 +02:00
f6bbc2fa6f Delete unnecessary nil checks from entry 2024-10-15 18:35:53 +02:00
1ecda50f34 Check whether there is a link element with a rel attribute of "alternate" if there is no content element in an entry element 2024-10-15 18:34:19 +02:00
cd61cb4f27 Delete unnecessary nil checks from feed 2024-10-15 18:32:24 +02:00
f2c6fce7c9 Text constructs should not be pointed towards since they are pointers themselves 2024-10-15 18:07:06 +02:00
c5783268f8 Adapt comments in feed.go and and entry.go 2024-10-15 18:04:03 +02:00