This Forum is now reserved to registred users!
[GA-RECIPE] MMM-NewsFeed
-
Hello following the update of MMM-NewsFeed you can now display the article in full screen with A2D, return to the previous article, go to the next article and finally force the refresh of all news data . Here is a recipe (English, French and Italian) allowing you to perform these actions with GA :
var recipe = { transcriptionHooks: { "NEWS_DETAIL_FR": { pattern: "affiche l'article", command: "NEWS_DETAIL" }, "NEWS_PREVIOUS_FR": { pattern: "article précédent", command: "NEWS_PREVIOUS" }, "NEWS_NEXT_FR": { pattern: "article suivant", command: "NEWS_NEXT" }, "NEWS_REFRESH_FR": { pattern: "mets à jour les données d'actualité", command: "NEWS_REFRESH" }, "NEWS_DETAIL_IT": { pattern: "mostra articolo", command: "NEWS_DETAIL" }, "NEWS_PREVIOUS_IT": { pattern: "articolo precedente", command: "NEWS_PREVIOUS" }, "NEWS_NEXT_IT": { pattern: "articolo successivo", command: "NEWS_NEXT" }, "NEWS_REFRESH_IT": { pattern: "aggiornare i dati delle notizie", command: "NEWS_REFRESH" }, "NEWS_DETAIL_EN": { pattern: "show article", command: "NEWS_DETAIL" }, "NEWS_PREVIOUS_EN": { pattern: "previous article", command: "NEWS_PREVIOUS" }, "NEWS_NEXT_EN": { pattern: "next article", command: "NEWS_NEXT" }, "NEWS_REFRESH_EN": { pattern: "update news data", command: "NEWS_REFRESH" } }, commands: { "NEWS_DETAIL": { notificationExec: { notification: "NEWSFEED_DETAIL" }, soundExec: { chime: "open" } }, "NEWS_PREVIOUS": { notificationExec: { notification: "NEWSFEED_PREVIOUS" }, soundExec: { chime: "open" } }, "NEWS_NEXT": { notificationExec: { notification: "NEWSFEED_NEXT" }, soundExec: { chime: "open" } }, "NEWS_REFRESH": { notificationExec: { notification: "NEWSFEED_REFRESH" }, soundExec: { chime: "open" } } } } exports.recipe = recipe // Don't remove this line.
-
should works with GA v3.0.2 and Newsfeed v1.1.4