Since the MySite module has an API for grabbing different content types, it can be used as a "feeder" module for Component.
The key function here is http://therickards.com/api/function/mysite_display/MySite:
mysite_display($type, $type_id, $uid = 0, $format = 'default');
Where $type is a plugin type defined by MySite. So, for example, to return the top X nodes in term 3, you'd pass:
mysite_display('term', 3, $uid = 0, $format = 'default');
The function returns a themed HTML element, ready for printing. Perfect for an AJAX callback.
Comments
Comment #1
agentrickardTake a look, btw, at the Panels / MySite integration discussion. I think merlin and I are agreeing that we want a common content generation layer.
Perhaps Component can do that.
http://groups.drupal.org/node/5776
Comment #2
irishgringo commentedif I wanted to create an email blast from a view, would this module be a good candidiate. I want to theme the view, and save it to an HTML file... then pass it to campaignMonitor, the email service. so I guess the first question, is how to create a file from this module?
Comment #3
Crell commentedThis issue is about MySite integration. Do not post new support questions into existing issues. Create a new issue and post it there.
Comment #4
Crell commented