24 Commits

Author SHA1 Message Date
ae24db0c08 Clarified Add method's comments 2024-10-20 14:31:54 +02:00
8ce7d54d00 Return the index of the added element 2024-10-20 12:57:24 +02:00
764b143ff8 Changed comments a bit 2024-10-20 12:41:09 +02:00
bcf2532372 Rename id in Delete methods to index 2024-10-20 12:35:26 +02:00
c0f5306715 Use pointers to make generic functions work 2024-10-20 12:20:25 +02:00
a49e853efb Use generics for Add and Delete Methods 2024-10-20 12:03:26 +02:00
e0384904b4 Added Delete methods for slice elements to common attributes, entry, feed, person and source 2024-10-20 10:49:29 +02:00
7f30fd5411 Instanciate common attributes everywhere so one can simply use the extend method 2024-10-19 14:52:19 +02:00
57db4178d0 Get rid of checks when creating constructs. Check should handle this. 2024-10-19 14:12:51 +02:00
f4dfd6d060 Added more error handling and necessary functions 2024-10-19 12:28:09 +02:00
d4e7bce5e2 Unify error messages 2024-10-18 19:04:08 +02:00
0c24f80d09 Rename package to atom 2024-10-16 21:28:04 +02:00
4220a2acc6 Added and corrected comments 2024-10-16 19:59:28 +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
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
ea79900bf3 Correct typo 2024-10-15 21:10:12 +02:00
6215ecb82a Properly check url and email address 2024-10-15 16:20:04 +02:00
fe4d539e91 Create method to extend person construct 2024-10-15 16:19:47 +02:00
d2a050bd8f Create NewPersion function 2024-10-15 16:07:41 +02:00
3929892602 Check first if there are any extension elements before checking them individually 2024-10-15 16:07:11 +02:00
83962a0341 Make extensions omitempty 2024-10-13 20:42:17 +02:00
92c794d070 First implementation of an atom feed 2024-10-13 17:19:40 +02:00