127 Commits

Author SHA1 Message Date
ee72e91593 Drop unnecessary SetLabel method 2024-10-20 15:17:53 +02:00
ddf5b26a1e Quick fix 2024-10-20 15:15:14 +02:00
cf131f0bcf Touched up README 2024-10-20 15:10:58 +02:00
ae24db0c08 Clarified Add method's comments 2024-10-20 14:31:54 +02:00
8ce7d54d00 Return the index of the added element v0.5.1 2024-10-20 12:57:24 +02:00
764b143ff8 Changed comments a bit v0.5.0 2024-10-20 12:41:09 +02:00
bcf2532372 Rename id in Delete methods to index 2024-10-20 12:35:26 +02:00
b6b8970810 Add comments to generic functions 2024-10-20 12:30:23 +02:00
c0f5306715 Use pointers to make generic functions work 2024-10-20 12:20:25 +02:00
8a00759c4b Delete useless lines from README 2024-10-20 12:06:09 +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
e2986e70b1 Created all necessary Add methods for source 2024-10-20 10:42:12 +02:00
4c38753ff7 Change readme accordingly v0.4.0 2024-10-19 23:44:36 +02:00
7f30fd5411 Instanciate common attributes everywhere so one can simply use the extend method 2024-10-19 14:52:19 +02:00
a7a6b5c711 Get rid of unused functions 2024-10-19 14:28:03 +02:00
57db4178d0 Get rid of checks when creating constructs. Check should handle this. 2024-10-19 14:12:51 +02:00
960889f9e7 Bug fix 2024-10-19 12:37:44 +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
411cd89b7c Added language description to README 2024-10-18 18:00:38 +02:00
574e2331a9 Added a warning to README 2024-10-18 06:13:53 +02:00
e075175fc7 Added a proper README v0.3.0 2024-10-18 06:04:05 +02:00
b7e2927292 Change license to MIT 2024-10-18 05:06:36 +02:00
3c312aa3ed Allow entries to be published without any outer feed 2024-10-18 05:00:24 +02:00
9445a7c4cd Use built-in xml attributes v0.2.2 2024-10-17 21:44:19 +02:00
42416d13e7 Bring back proper extensionAttributes 2024-10-17 21:27:54 +02:00
b70ff82141 Delete extensionAttribute.go and simplify undefined attributes 2024-10-17 21:08:41 +02:00
3172a4865a Create needed functions for common attributes and their extensions v0.2.1 2024-10-17 20:48:32 +02:00
3b3f1f7e41 Change title 2024-10-17 20:47:37 +02:00
9c38048bd2 Properly use xml names v0.2.0 2024-10-17 20:10:18 +02:00
26e0c99150 Use *XHTMLDiv 2024-10-17 19:44:27 +02:00
6117876a59 Check uris before applying them 2024-10-17 19:28:09 +02:00
cb61d90cae Make NewLogo more flexible 2024-10-17 19:19:22 +02:00
30623fdfe0 More ",chardata" 2024-10-17 19:14:37 +02:00
4ae8cecb17 More ",chardata" 2024-10-17 19:11:33 +02:00
8e226b48ef isValidXML is no longer of any use 2024-10-17 19:05:23 +02:00
478d679985 Small bug fix 2024-10-17 18:59:24 +02:00
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