Need Help Connecting Blogger XML Feeds To AI Chat Bot!

D Volatility <[email protected]>
Newsgroups gmane.comp.web.blogger.api
Message-ID <[email protected]>
Hi, so I'm trying to make my AI bot (created at botlibre.com) chat out 
recent posts on specific labels when called, but I'm not exactly sure how 
to connect my blog's xml feeds to the bot using javascript. All I want are 
links to my 5 most recent post titles on newsmovingmarkets.com when the 
script is called.This is what I have so far using botlibre's self script 
which is javascript. I don't know where to put additional parameters or a 
Blogger API key if needed in the function area.. Does anybody know what I'm 
missing? Thanks!

Matt

---


Here is the code I have:

state LabelFeedPosts {
 pattern "I (want need) [articles news posts updates information] (on 
about) *" template LabelFeeds();
 pattern "I'm (looking searching) for [articles news posts updates 
information info] (on about) *" template LabelFeeds();
 pattern "Give me [articles news posts updates information info] (on about) 
*" template LabelFeeds();
 pattern "I need [articles news posts updates information info] related to 
*" template LabelFeeds();
 pattern "Can you help me (find get) [articles news posts updates 
information info] (on about) *" template LabelFeeds();
 pattern "Do you (have post) [articles news posts updates information info] 
(on about) *" template LabelFeeds();
 }
 
 function LabelFeeds() {
    posts = Http.requestXML(
"https://www.blogger.com/feeds/5355627375288883516/posts/default/-/" + star
);
    if (posts == null) {
        return "I'm sorry, I do not have that label indexed.";
    }
    return "Here are the most recent posts on " + star + ": " posts;
 }
}



Matt (@dvolatility)

For example, here is an XML feed I want to pull from my blog 
https://www.blogger.com/feeds/5355627375288883516/posts/default/-/US Stock 
Market

-- 
You received this message because you are subscribed to the Google Groups "Blogger Developer Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/bloggerdev.
For more options, visit https://groups.google.com/d/optout.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.