1. Is it possible to do a rss addon?

    Is it possible to do a rss addon?

    Addons cannot read data sources outside the game during operation. Saved Variables are the only method of storing/retrieving data and this can only be accomplished at UI reload.

    Hhhuumm, Then, how group calendar synchronize events for all players of a guild?

    I would assume by using that chat system (SendAddonMessage)

    How it works?

    I send the message and how the addon can take it?

    Any example, please?

    Thanks.

     

     

    XSSFilter could not parse (X)HTML:
    
    
    
    <p>It's all in the book tbh, but here's the main techy stuff (I think... might not be 100%).</p>
    
    
    <p>Register the CHAT_MSG_ADDON event, something like:</p>
    
    
    <p>frame = CreateFrame("Frame",nil,UIParent);<br />frame:SetScript("OnEvent", EventHandler( self ));</p>
    
    
    <p><span style="font-size: x-small;">
    <p>frame:RegisterEvent("CHAT_MSG_ADDON")</p>
    
    
    <p>-- To process messages, in your event handler, you need something like:</p>
    
    
    <p>function EventHandler<span style="font-size: x-small;">(frame, event, ...)<br />          </span><span style="font-size: x-small;">if event == "CHAT_MSG_ADDON" then<br />                    local message = ...;<br />                    -- do whatever with message (read processing instruction, etc)<br />                    if message == "ShowPopupWindow" then<br />                              -- do stuff<br />                    end</span><span style="font-size: x-small;"><br />          end<br />end</span></p>
    
    
    <p>To send the message, use something like:</p>
    
    
    <p>SendAddonMessage("AddonNameSoYouCanIdentifyYourOwnEvents", message, "WHISPER", playername)</p>
    
    <p></span></p></p>
    
    XSSFilter could not parse (X)HTML:
    
    
    
    <p><span style="font-size: x-small;">
    <p>Just noticed, the line<br />          message = ...;<br />Should be<br />          AddOnName, message, channel, sender = ...;</p>
    
    
    <p>Then you can check AddOnName so you only process your own, and you know who sent it (sender), etc. </p>
    
    <p></span></p></p>
    

    Thank you very much.

     

    I'll try this after test my ScrollingMessageFrame