در سایت جاری و در قسمت ارسال لینکهای خبری، امکانی فراهم شدهاست تا کسانیکه از فایرفاکس استفاده میکنند بتوانند به راحتی صفحهی در حال تماشا را برای اشتراک ارسال کنند. تصویر زیر قسمتی از صفحهی ارسال لینکهای خبری است که دکمهی اشتراک فایرفاکس در آن وجود دارد:
که لینک آن دارای یک دستور جاوااسکریپتی است که کار ارسال لینک و عنوان encode شدهی مطلب را انجام میدهد:
javascript:location.href='https://www.dntips.ir/dailylinks?url='+encodeURIComponent(location.href)+'&title='+encodeURIComponent(document.title)
که برای تعریف یک مقصد اشتراک، پارامترهای زیر را در اختیار میگذارد:
[TITLE]: عنوان آیتم با انکدینگ
[TITLE_NOENC]: عنوان آیتم بدون انکدینگ
[URL]: آدرس آیتم
[CONTENT]: محتوای آیتم
[SOURCE]: منبع، که در اینجا کلمهی Inoreader جایگزین میشود.
حالا با استفاده از الگوی معرفی شدهی لینک اشتراک سایت DNT و جایگزینی با آیتمهای بالا میتوان یک Custom Site را به Inoreader اضافه کرد:
https://www.dntips.ir/dailylinks?url=[URL]&title=[TITLE]
حالا این مورد نیز به لیست اشتراک گذاری در Inoreader اضافه شده و میتوانید نتیجهی تست آن را در زیر ببینید: