Commit Graph

24 Commits

Author SHA1 Message Date
Mataniko 11316500b7 WEB: Fix strpos condition ambiguity 2020-09-29 16:38:00 -04:00
Mataniko bcf45949d0 JANITORIAL: Code lint 2020-09-29 16:08:34 -04:00
Mataniko 858b40f31d WEB: Update links in news articles to localized links 2020-09-29 16:08:34 -04:00
Mataniko 08ea2cfcde WEB: Lint and static analysis cleanup 2020-09-27 22:08:07 -04:00
mataniko 2da6d8f010 WEB: Fix formatting and analysis errors 2020-09-01 00:10:54 -04:00
Matan Bareket 5f850f6941 DATA: Use .markdown extension instead of .yaml 2019-10-22 08:15:29 -04:00
Matan Bareket d6fba215f0 DATA: Convert news to FM+MD 2019-10-22 01:16:53 -04:00
Matan Bareket f48d95e174 WEB: Lint PHP files 2019-05-08 23:28:05 -04:00
Matan Bareket 7c90a6f7d6 WEB: Parse News JSON as an array instead of an object 2019-01-22 19:49:58 -05:00
Matan Bareket 601465558f WEB: Resolve static analysis errors 2019-01-22 19:49:58 -05:00
Matan Bareket 2eff11cbb3 WEB: Clean up most PSR2 style warnings 2019-01-22 19:49:58 -05:00
Matan Bareket 85328f2997 WEB: Use PSR-4 autoloading 2019-01-22 19:49:58 -05:00
Matan Bareket cfbeebb8dc WEB: Add namespaces to all PHP files 2019-01-22 19:49:58 -05:00
Matan Bareket 851bb41bb7 WEB: Auto-fix to PSR-2 standard 2019-01-22 19:49:58 -05:00
Matan Bareket 018c78010a NEWS: Add support for news filenames in either yyyyMMdd or yyyyMMddHHmm format
This also changes the behavior that when a user clicks on a news
article, he will get all news articles from the same day. The reasoning
is a) we barely have more than 1 article a day. b) if a user wanted a
hotlink to a particular news article, he might get two different ones
which is odd.
2018-11-18 07:46:22 -05:00
Matan Bareket 01f1443c43 I18N: Revert News model and Object but use JSON now instead of our XML 2018-11-06 08:57:44 -05:00
Matan Bareket c4e8e96345 I18N: Update News model and object to read from the new JSON file 2018-11-06 01:00:06 -05:00
Matan Bareket 904f4494ca WEB: Add a method to generate News links in HTML and feeds 2018-07-26 07:17:40 -04:00
Matan Bareket 3ff4a1b01e WEB: Remove broken getImage method from news articles 2018-07-26 07:17:40 -04:00
Eugene Sandulenko 7cf6b2ef40 WEB: More robust date parsing. Fixes to French news item dates. 2016-01-17 21:57:14 +01:00
Filippos Karapetis e2e430f3db WEB: use html_entity_decode() when decoding entities
This removes the hacky hardcoded table. Thanks to DrMcCoy for his help.
2013-07-02 23:31:33 +03:00
Filippos Karapetis eb35f1bb8c WEB: Replace specific HTML entities in RSS/atom feeds
This fixes the invalid XML entities in the RSS/atom feeds.
Currently, only e acute is replaced, but this can be extended to
replace more entities that may appear in news items
2013-07-02 13:25:46 +03:00
Fredrik Wendel f6c9513056 #2820377: "WEB: Unable to post more than single news item per day"
svn path=/web/trunk/; revision=42882
2009-07-29 09:03:27 +00:00
Eugene Sandulenko d429c48de0 Website rewrite from Fredrik Wendel
svn path=/web/trunk/; revision=40814
2009-05-23 18:45:30 +00:00