This website requires JavaScript.
d8d0526a05
Make NewCommonAttributes public
main
v1.0.0
devel
Jason Streifling
2024-10-20 15:59:46 +02:00
8fc6a10b0d
Just implement update logic in Methods where it is needed, since if there is no pointer I cannot hand it to any function or method
Jason Streifling
2024-10-20 15:54:49 +02:00
0b70a8ee10
Turn updateDateTime into *Date.Update
Jason Streifling
2024-10-20 15:47:10 +02:00
da5d955b2d
Implement more sophisticated updateDateTime function
Jason Streifling
2024-10-20 15:37:03 +02:00
ee72e91593
Drop unnecessary SetLabel method
Jason Streifling
2024-10-20 15:17:53 +02:00
ddf5b26a1e
Quick fix
Jason Streifling
2024-10-20 15:15:14 +02:00
cf131f0bcf
Touched up README
Jason Streifling
2024-10-20 15:10:58 +02:00
ae24db0c08
Clarified Add method's comments
Jason Streifling
2024-10-20 14:31:54 +02:00
8ce7d54d00
Return the index of the added element
v0.5.1
Jason Streifling
2024-10-20 12:57:24 +02:00
764b143ff8
Changed comments a bit
v0.5.0
Jason Streifling
2024-10-20 12:41:09 +02:00
bcf2532372
Rename id in Delete methods to index
Jason Streifling
2024-10-20 12:35:26 +02:00
b6b8970810
Add comments to generic functions
Jason Streifling
2024-10-20 12:30:23 +02:00
c0f5306715
Use pointers to make generic functions work
Jason Streifling
2024-10-20 12:20:25 +02:00
8a00759c4b
Delete useless lines from README
Jason Streifling
2024-10-20 12:06:09 +02:00
a49e853efb
Use generics for Add and Delete Methods
Jason Streifling
2024-10-20 12:03:26 +02:00
e0384904b4
Added Delete methods for slice elements to common attributes, entry, feed, person and source
Jason Streifling
2024-10-20 10:49:29 +02:00
e2986e70b1
Created all necessary Add methods for source
Jason Streifling
2024-10-20 10:42:12 +02:00
4c38753ff7
Change readme accordingly
v0.4.0
Jason Streifling
2024-10-19 23:44:36 +02:00
7f30fd5411
Instanciate common attributes everywhere so one can simply use the extend method
Jason Streifling
2024-10-19 14:52:19 +02:00
a7a6b5c711
Get rid of unused functions
Jason Streifling
2024-10-19 14:28:03 +02:00
57db4178d0
Get rid of checks when creating constructs. Check should handle this.
Jason Streifling
2024-10-19 14:12:51 +02:00
960889f9e7
Bug fix
Jason Streifling
2024-10-19 12:37:44 +02:00
f4dfd6d060
Added more error handling and necessary functions
Jason Streifling
2024-10-19 12:28:09 +02:00
d4e7bce5e2
Unify error messages
Jason Streifling
2024-10-18 19:04:08 +02:00
411cd89b7c
Added language description to README
Jason Streifling
2024-10-18 18:00:38 +02:00
574e2331a9
Added a warning to README
Jason Streifling
2024-10-18 06:13:53 +02:00
e075175fc7
Added a proper README
v0.3.0
Jason Streifling
2024-10-18 06:04:05 +02:00
b7e2927292
Change license to MIT
Jason Streifling
2024-10-18 05:06:36 +02:00
3c312aa3ed
Allow entries to be published without any outer feed
Jason Streifling
2024-10-18 05:00:24 +02:00
9445a7c4cd
Use built-in xml attributes
v0.2.2
Jason Streifling
2024-10-17 21:44:19 +02:00
42416d13e7
Bring back proper extensionAttributes
Jason Streifling
2024-10-17 21:27:54 +02:00
b70ff82141
Delete extensionAttribute.go and simplify undefined attributes
Jason Streifling
2024-10-17 21:08:41 +02:00
3172a4865a
Create needed functions for common attributes and their extensions
v0.2.1
Jason Streifling
2024-10-17 20:48:32 +02:00
3b3f1f7e41
Change title
Jason Streifling
2024-10-17 20:47:37 +02:00
9c38048bd2
Properly use xml names
v0.2.0
Jason Streifling
2024-10-17 20:10:18 +02:00
26e0c99150
Use *XHTMLDiv
Jason Streifling
2024-10-17 19:44:27 +02:00
6117876a59
Check uris before applying them
Jason Streifling
2024-10-17 19:28:09 +02:00
cb61d90cae
Make NewLogo more flexible
Jason Streifling
2024-10-17 19:19:22 +02:00
30623fdfe0
More ",chardata"
Jason Streifling
2024-10-17 19:14:37 +02:00
4ae8cecb17
More ",chardata"
Jason Streifling
2024-10-17 19:11:33 +02:00
8e226b48ef
isValidXML is no longer of any use
Jason Streifling
2024-10-17 19:05:23 +02:00
478d679985
Small bug fix
Jason Streifling
2024-10-17 18:59:24 +02:00
d11b229691
No more undefined content in link and category
Jason Streifling
2024-10-17 18:57:43 +02:00
e73b78ef30
Content can also be empty
Jason Streifling
2024-10-17 18:40:52 +02:00
5a82f1799f
Force undefined content of category and link to be empty or valid xml
Jason Streifling
2024-10-17 18:39:57 +02:00
73624eadd8
More ",chardata"
Jason Streifling
2024-10-17 18:15:41 +02:00
17aa4b1a15
Streamline type check in content constructs
Jason Streifling
2024-10-17 18:12:56 +02:00
040d7a6b7b
Create xhtmlDiv.go
Jason Streifling
2024-10-17 18:12:23 +02:00
705b651f08
Make undefined content in category and link type string
Jason Streifling
2024-10-17 18:11:06 +02:00
4b97bf7fdc
Simplify inline text content
Jason Streifling
2024-10-17 17:33:33 +02:00
86785be588
More ",chardata"
Jason Streifling
2024-10-17 17:19:43 +02:00
28f5616f76
Make uri in id and text in plain text xml type ",chardata"
Jason Streifling
2024-10-17 17:14:10 +02:00
657624cbd6
Small bug fix
Jason Streifling
2024-10-17 16:56:46 +02:00
b496ac3691
Allow the user to generate a valid iri based on a uuid
Jason Streifling
2024-10-17 16:52:03 +02:00
13e7a16178
Let the user define their own iri
Jason Streifling
2024-10-17 16:51:40 +02:00
3734a3eb3d
More complete check within isValidMediaType
Jason Streifling
2024-10-17 16:46:40 +02:00
e0902d9ba4
Fix source check in entry
Jason Streifling
2024-10-17 05:34:32 +02:00
434783165b
Add needed checks for link if attributes are empty
Jason Streifling
2024-10-17 05:18:02 +02:00
46138d302b
Fix bug in link check
Jason Streifling
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
Jason Streifling
2024-10-17 05:05:14 +02:00
2ef8d8c9df
Fix nil dereference bug in entry checkAuthors
v0.1.4
Jason Streifling
2024-10-17 04:55:28 +02:00
97fe20f364
Add missing methods to entry
v0.1.3
Jason Streifling
2024-10-16 21:35:24 +02:00
0c24f80d09
Rename package to atom
v0.1.2
Jason Streifling
2024-10-16 21:28:04 +02:00
c5a6e0c44f
Change module description in go.mod
v0.1.1
Jason Streifling
2024-10-16 21:08:37 +02:00
3774f41f1b
Changed README
v0.1.0
Jason Streifling
2024-10-16 20:35:44 +02:00
7a2e79d205
Corrected LICENSE
Jason Streifling
2024-10-16 20:30:02 +02:00
e12cd132d9
Small comment clean up
Jason Streifling
2024-10-16 20:24:43 +02:00
03ec0d2ddf
Remove unused stuff
Jason Streifling
2024-10-16 20:23:52 +02:00
4220a2acc6
Added and corrected comments
Jason Streifling
2024-10-16 19:59:28 +02:00
6a76bdc0c3
Small changes
Jason Streifling
2024-10-16 18:41:42 +02:00
31cc803440
Create NewLogo and add checks
Jason Streifling
2024-10-16 18:33:23 +02:00
f11dee630d
Make isText private
Jason Streifling
2024-10-16 18:31:24 +02:00
f8c36a7045
Change title to string type and add checks
Jason Streifling
2024-10-16 18:31:13 +02:00
4fe133a394
Create isValidMediaType and isValidLanguageTag
Jason Streifling
2024-10-16 18:30:22 +02:00
39bd0776c5
Correct AddExtension for entry and person
Jason Streifling
2024-10-16 17:38:03 +02:00
082e71a698
Change URI to IRI after finding validation pattern
Jason Streifling
2024-10-16 17:33:25 +02:00
b76e529ca3
Created NewLink
Jason Streifling
2024-10-16 17:17:41 +02:00
bc9fd49d18
Add checks to id
Jason Streifling
2024-10-16 17:07:57 +02:00
a65aa0a740
Create NewIcon and appropriate checks
Jason Streifling
2024-10-16 17:03:23 +02:00
566227773e
Create NewGenerator and checks for the generator construct
Jason Streifling
2024-10-16 16:58:58 +02:00
92d71fdbde
Fix wordings
Jason Streifling
2024-10-16 16:54:26 +02:00
f27116930a
Correctly escape strings if needed and check for it
Jason Streifling
2024-10-16 16:51:39 +02:00
c200d5bf73
Create isValidURN and isValidURI and use isValidURI everywhere where it is needed
Jason Streifling
2024-10-16 16:48:44 +02:00
14696371e2
Create and use isValidURL
Jason Streifling
2024-10-16 16:14:34 +02:00
4f70da9a17
Add NewCategory
Jason Streifling
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
Jason Streifling
2024-10-15 21:47:13 +02:00
7764589dd3
Add NewContent
Jason Streifling
2024-10-15 21:14:30 +02:00
9df834d927
Add newOutOfLineContent
Jason Streifling
2024-10-15 21:13:46 +02:00
ea79900bf3
Correct typo
Jason Streifling
2024-10-15 21:10:12 +02:00
b26d6370f5
Add newInlineOtherContent
Jason Streifling
2024-10-15 21:01:40 +02:00
15b74c2675
Add newInlineXHTMLContent
Jason Streifling
2024-10-15 20:53:01 +02:00
d96e2c61bb
Just moving code around, no change
Jason Streifling
2024-10-15 20:52:35 +02:00
31b6e51cb8
Add newInlineTextContent
Jason Streifling
2024-10-15 20:47:16 +02:00
4bad8ae99f
Allow for empty type in NewText
Jason Streifling
2024-10-15 20:09:18 +02:00
068f61dc2c
Simplify NewText
Jason Streifling
2024-10-15 20:03:09 +02:00
987feb8226
Check if the type of contents is a composite media type
Jason Streifling
2024-10-15 19:53:17 +02:00
6322566a54
Add function to check if the media type is composite
Jason Streifling
2024-10-15 19:46:45 +02:00
209059f2b4
Move the parsing of the media type to isXMLMediaType
Jason Streifling
2024-10-15 19:46:26 +02:00
e3b9ff0225
Move isXMLMediaType to atom.go
Jason Streifling
2024-10-15 19:40:13 +02:00
b08b62e794
Add check for summary element of entry
Jason Streifling
2024-10-15 19:32:14 +02:00