Takes an input string. Opens file with the output of snprintf from "news:/data/%s" with input.
+
Takes an input string. Opens file with the output of snprintf from <nowiki>"news:/data/%s"</nowiki> with input.
=== OpenWithNewsRecordV1 ===
=== OpenWithNewsRecordV1 ===
−
Takes an input #NewsRecordV1. Opens file with the output of snprintf of "news:/data/D00000000000000000000_%s.msgpack" with news_id if user_id is empty or else of "news:/data/U%s_%s.msgpack" with user_id and news_id of input.
+
Takes an input [[#NewsRecordV1]]. Opens file with the output of snprintf of <nowiki>"news:/data/D00000000000000000000_%s.msgpack"</nowiki> with news_id if user_id is empty or else of <nowiki>"news:/data/U%s_%s.msgpack"</nowiki> with user_id and news_id of input.
=== Read ===
=== Read ===
Line 346:
Line 346:
=== OpenWithNewsRecord===
=== OpenWithNewsRecord===
−
Takes an input #NewsRecord. Same behavior as [[#OpenWithNewsRecordV1]].
+
Takes an input [[#NewsRecord]]. Same behavior as [[#OpenWithNewsRecordV1]].