31 Commits

Author SHA1 Message Date
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
4d35873625 Corrected error message for link check 2024-10-15 17:54:54 +02:00
05cc967ea8 Check for links with "alternate" ref and duplicate type and hreflang attributes 2024-10-15 17:52:38 +02:00
e1ba1b8277 Update updated of feed when adding an object 2024-10-15 17:39:17 +02:00
8863e97f1f Remove unnecessary updated time from NewFeed 2024-10-15 17:36:56 +02:00
215a002992 Small change 2024-10-15 17:35:48 +02:00
a021de6e66 Adapt feed comments 2024-10-15 17:34:33 +02:00
16d8b577e3 Add functions to create a new feed and add objects to slices 2024-10-15 17:29:22 +02:00
ac78db9917 Add function to create a new extension element 2024-10-15 17:26:59 +02:00
9ec6ad1460 Add function to create a new ID 2024-10-15 17:26:26 +02:00
8bfd8a648e Add function to create a new date construct 2024-10-15 16:25:45 +02:00
7de921b1b5 Cleanup 2024-10-15 16:20:11 +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
2a4adec6bd Create correct xhtml constructs 2024-10-15 16:02:13 +02:00
2cbc604d85 Treat html differently from text in text constructs 2024-10-15 16:01:40 +02:00
2d1d95502f Create function to safely create new text construct 2024-10-15 15:36:11 +02:00
64a2d6b583 Check should not be called every time the feed is created because it can be costly 2024-10-15 15:08:23 +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
520c2de196 Initial commit 2024-10-12 09:36:40 +02:00