방금 이것을 발견했습니다:
정규식 기반 변환 집합을 적용하여 BBCode 태그를 Markdown으로 교체하는 등의 작업을 수행합니다.
마지막 업데이트가 2016년으로, 여전히 관련 있는 옵션인지 확실하지 않습니다.
이것은 여전히 관련이 있나요? Drupal importer 스크립트에서 다음과 같은 코드를 보고 있습니다:
create_posts(results, total: total_count, offset: offset) do |row|
topic_mapping = topic_lookup_from_imported_post_id("nid:#{row['nid']}")
def create_permalinks
puts '', 'creating permalinks...'
Topic.listable_topics.find_each do |topic|
begin
tcf = topic.custom_fields
if tcf && tcf['import_id']
node_id = tcf['import_id'][/nid:(\d+)/, 1]
slug = "/topic/#{node_id}"
Permalink.create(url: slug, topic_id: topic.id)
end