Does anyone have some insight on this one? I have a content type that I'm importing programmatically. No matter how I set the Input Filters, it is bringing the content type in as filtered html. Thoughts? -- Karyn Cassio Drupal Developer
Karyn Cassio wrote:
Does anyone have some insight on this one? I have a content type that I'm importing programmatically. No matter how I set the Input Filters, it is bringing the content type in as filtered html.
Thoughts?
How are you doing the import? -- Earnie -- http://progw.com -- http://www.for-my-kids.com
Karyn Cassio wrote:
Does anyone have some insight on this one? I have a content type that I'm importing programmatically. No matter how I set the Input Filters, it is bringing the content type in as filtered html.
Thoughts?
How are you doing the import? -- Earnie -- http://progw.com -- http://www.for-my-kids.com
through an node import script. I got it figured out though. needed: $node->format set to correct filter. Thanks, Karyn On 5/7/10 1:49 PM, Earnie Boyd wrote:
Karyn Cassio wrote:
Does anyone have some insight on this one? I have a content type that I'm importing programmatically. No matter how I set the Input Filters, it is bringing the content type in as filtered html.
Thoughts?
How are you doing the import?
Karyn Cassio wrote:
through an node import script. I got it figured out though. needed: $node->format set to correct filter.
I tend to create an rss output with the scripting and use the feedAPI module to do the import of the node as an aggregated feed. That way I can just use what is already programmed. -- Earnie -- http://progw.com -- http://www.for-my-kids.com
Unfortunately it's not a traditional RSS feed, it's a custom feed from a subscription service. I started writing a plugin for Feeds Module, but I time is a constraint at the moment. Probably will circle back to that at a later time. On 5/7/10 2:40 PM, Earnie Boyd wrote:
Karyn Cassio wrote:
through an node import script. I got it figured out though. needed: $node->format set to correct filter.
I tend to create an rss output with the scripting and use the feedAPI module to do the import of the node as an aggregated feed. That way I can just use what is already programmed.
Karyn Cassio wrote:
Unfortunately it's not a traditional RSS feed, it's a custom feed from a subscription service. I started writing a plugin for Feeds Module, but I time is a constraint at the moment. Probably will circle back to that at a later time.
RSS is easy to create as an output. You create your script to get the custom feed data, write the output as RSS and then use the existing feedAPI Node module to load Drupal by pointing the feed page to your script. If you have different custom feed locations you can control it with _GET parameters. Then you have the controls to keep the data forever or remove it after x time old. -- Earnie -- http://progw.com -- http://www.for-my-kids.com
Note that if you go RSS way, you would need to escape your html tags. ---------------------------------- Dipen Chaudhary Founder, QED42 : We build beautiful and scalable web strategies ( www.qed42.com ) Blog: dipenchaudhary.com Twitter: http://twitter.com/dipench On Sat, May 8, 2010 at 2:53 AM, Earnie Boyd <earnie@users.sourceforge.net>wrote:
Karyn Cassio wrote:
Unfortunately it's not a traditional RSS feed, it's a custom feed from a subscription service. I started writing a plugin for Feeds Module, but I time is a constraint at the moment. Probably will circle back to that at a later time.
RSS is easy to create as an output. You create your script to get the custom feed data, write the output as RSS and then use the existing feedAPI Node module to load Drupal by pointing the feed page to your script. If you have different custom feed locations you can control it with _GET parameters. Then you have the controls to keep the data forever or remove it after x time old.
-- Earnie -- http://progw.com -- http://www.for-my-kids.com
Kyle Mathews On May 7, 2010 3:26 PM, "Dipen" <dipench@gmail.com> wrote: Note that if you go RSS way, you would need to escape your html tags. ---------------------------------- Dipen Chaudhary Founder, QED42 : We build beautiful and scalable web strategies ( www.qed42.com ) Blog: dipenchaudhary.com Twitter: http://twitter.com/dipench On Sat, May 8, 2010 at 2:53 AM, Earnie Boyd <earnie@users.sourceforge.net> wrote:
Karyn Cass...
participants (4)
-
Dipen -
Earnie Boyd -
Karyn Cassio -
Kyle Mathews