• Joined on 2022-11-12
jason pushed to main at jason/atom 2024-10-15 21:14:35 +02:00
7764589dd3 Add NewContent
9df834d927 Add newOutOfLineContent
ea79900bf3 Correct typo
b26d6370f5 Add newInlineOtherContent
15b74c2675 Add newInlineXHTMLContent
Compare 9 commits »
jason pushed to main at jason/atom 2024-10-15 19:53:28 +02:00
987feb8226 Check if the type of contents is a composite media type
6322566a54 Add function to check if the media type is composite
209059f2b4 Move the parsing of the media type to isXMLMediaType
e3b9ff0225 Move isXMLMediaType to atom.go
Compare 4 commits »
jason pushed to main at jason/atom 2024-10-15 19:32:19 +02:00
b08b62e794 Add check for summary element of entry
jason pushed to main at jason/atom 2024-10-15 18:46:23 +02:00
9920e077eb Add hasAlternateDuplicateLinks check to entry
6782d0c847 Move hasAlternateDumplicateLinks from feed to link in order to also use it elsewhere
Compare 2 commits »
jason pushed to main at jason/atom 2024-10-15 18:40:37 +02:00
656ae8ad46 Add comments to author checks
4f3135dcc6 Add comment to alternateRelExists check
Compare 2 commits »
jason pushed to main at jason/atom 2024-10-15 18:35:58 +02:00
f6bbc2fa6f Delete unnecessary nil checks from entry
1ecda50f34 Check whether there is a link element with a rel attribute of "alternate" if there is no content element in an entry element
cd61cb4f27 Delete unnecessary nil checks from feed
Compare 3 commits »
jason pushed to main at jason/atom 2024-10-15 18:07:10 +02:00
f2c6fce7c9 Text constructs should not be pointed towards since they are pointers themselves
c5783268f8 Adapt comments in feed.go and and entry.go
Compare 2 commits »
jason pushed to main at jason/atom 2024-10-15 17:54:59 +02:00
4d35873625 Corrected error message for link check
jason pushed to main at jason/atom 2024-10-15 17:52:44 +02:00
05cc967ea8 Check for links with "alternate" ref and duplicate type and hreflang attributes
jason pushed to main at jason/atom 2024-10-15 17:39:22 +02:00
e1ba1b8277 Update updated of feed when adding an object
jason pushed to main at jason/atom 2024-10-15 17:37:01 +02:00
8863e97f1f Remove unnecessary updated time from NewFeed
jason pushed to main at jason/atom 2024-10-15 17:35:52 +02:00
215a002992 Small change
jason pushed to main at jason/atom 2024-10-15 17:34:37 +02:00
a021de6e66 Adapt feed comments
jason pushed to main at jason/atom 2024-10-15 17:29:26 +02:00
16d8b577e3 Add functions to create a new feed and add objects to slices
ac78db9917 Add function to create a new extension element
9ec6ad1460 Add function to create a new ID
Compare 3 commits »
jason pushed to main at jason/atom 2024-10-15 16:25:49 +02:00
8bfd8a648e Add function to create a new date construct
jason pushed to main at jason/atom 2024-10-15 16:20:16 +02:00
7de921b1b5 Cleanup
6215ecb82a Properly check url and email address
fe4d539e91 Create method to extend person construct
Compare 3 commits »
jason pushed to main at jason/atom 2024-10-15 16:07:44 +02:00
d2a050bd8f Create NewPersion function
3929892602 Check first if there are any extension elements before checking them individually
Compare 2 commits »
jason pushed to main at jason/atom 2024-10-15 16:02:19 +02:00
2a4adec6bd Create correct xhtml constructs
2cbc604d85 Treat html differently from text in text constructs
Compare 2 commits »
jason pushed to main at jason/atom 2024-10-15 15:36:15 +02:00
2d1d95502f Create function to safely create new text construct
jason pushed to main at jason/atom 2024-10-15 15:08:28 +02:00
64a2d6b583 Check should not be called every time the feed is created because it can be costly