Importing documents preformatted using file import feature
-
I have used BetterDocs-sample-data.csv file and seen that the file as is when imported works. The document content column has <h2>XXXX</h2> and <p>XXXXX</p> for formatting.
Is there anything else I can do for formatting when trying to load the documents? For eg. I would like for the text to be center justified and use a different font color than black and have a larger font size etc.
I am working on over 650 documents being imported and I want to maintain similarity for the documents but yet don’t want it to be that I have to go one document at a time to format it.
The imported document uses the classic wordpress editor block which I believe has limitations, can the document be loaded with other options ?
Additionally, Is there a way to bulk tag documents to tags in BetterDocs or while doing the csv import itself? I have several meta data for my files that I’d like to eventually use for searching for files through search engines.
Thanks
The page I need help with: [log in to see the link]
-
Hello @webmastergopi
Thank you for reaching out! I’m glad to see you’re making good progress with your document imports into BetterDocs. I’d be happy to clarify your questions on document formatting and bulk tagging to help streamline your process.Regarding formatting, after importing your content using the
BetterDocs-sample-data.csvfile, you can indeed customize the appearance without having to format each document individually.
BetterDocs allows you to use custom CSS, which can modify elements like alignment, font color, font size, and more across all documents in bulk. There are specific CSS classes already designated for titles, paragraphs, and other content elements, which makes it easier to apply consistent formatting to all 650 documents at once. You can use these classes to set up CSS rules that will apply universally. You can find a demonstration of this setup in our demo video here: https://d.pr/v/D4li0FFor bulk tagging, yes, you can tag documents in bulk after importing. This can be done efficiently through the bulk edit options in BetterDocs. For a walkthrough, you can refer to the video here: https://d.pr/v/nx5KFj
Please let us know if you need further assistance with these processes or if you have any other questions.
Thank you
Hello @zebaafiashama Many thanks for your reply. I tried following the video clip https://d.pr/v/D4li0F and what I see is that you are going to one document to set it up manually and then inspecting the style of the document and copying the style change you want to apply to all documents and then adding it to the custom CSS. Are there steps you can provide just to be sure that I am not doing this incorrectly? And when I look at my set up it looks a bit different. It looks like Betterdoc in my setup is inheriting global defaults from WordPress / Elementor and there is nothing betterdoc specific that I can change to see the change.
Hi there @webmastergopi
Thank you for sharing the video and details of what you’re looking to achieve with BetterDocs. I’m glad to hear that the import was successful and that you’re exploring the possibilities for formatting and bulk updates.
For your formatting requirements, here’s the CSS you can use to center-align headings and paragraphs, set the heading color to red, and increase the paragraph font size to 22px with a dark blue color:
#betterdocs-single-content h2 {
color: red !important;
text-align: center;
}
#betterdocs-single-content p {
color: darkblue !important;
font-size: 22px !important;
text-align: center;
}
You can add this CSS to your theme’s custom CSS area from WordPress Dashboard => Appearance => Customize => Additional CSS. This should apply the format across the docs.
Thank you-
This reply was modified 1 year, 5 months ago by
Zeba Afia Shama.
The formatting worked well thank you. It turns out that when I was importing the file with 653 songs, 83 songs did not load. I can’t seem to tell if there is any issue or special characters that made these 83 fall out. Can you please advise what are the likely issues that cause fall outs? I am not able to see any anomalies in those documents.
and is it possible turn off TOC for only a specific category and keep it on for others? The new category that I have created, I want the TOC off but on the rest that pre-existed I want to use the TOC.
Thank you for getting me this close
Hi webmastergopi ,
Thanks for letting us know the update. I am glad to know that the formatting worked well on your end.
Regarding the missing 83 docs: Will you please tell me if you have added those docs to the category properly? If you don’t assign the docs under the category, then those will not visible.
Regarding turning off TOC: Actually, when you enable the TOC, it will be visible on all Single docs pages. Unfortunately, I am really sorry to say that it is not possible to show the TOC on the specific docs. It will be visible on all Single Docs pages where there are headings.
Hope you understand. Please feel free to let me know if you have further queries or need assistance.
Thank you.Dear Amit, thank you for your input. here is a video link to show you the data file for the remaining 83 documents https://www.loom.com/share/7625a911ecdf496ba8f42e7bfb43e9dd?sid=8ca899e7-702c-4cc3-9770-453ce40d4bde
I have the same category and category slug as the remaining 500+ that successfully imported. Can you think of anything else I can do to get them imported?
Thank you
Hi webmastergopi ,
Thanks for sharing the screencast with us. It seems that there is an issue with the docs that are not getting imported. Will you please generate a sample CSV file from the WP Admin Dashboard > BetterDocs > Settings > Import/Export > Import > from here, download the sample CSV file. Please make the changes to that file and then try again to import the docs.
Hope this will resolve your issue. Let us know how it goes.
Thank you.Dear Amit,
I tried moving my data over from old file to a new file and I do not believe it is the issue with the template as over 500+ records from that same file had imported successfully.
here is are a few records from the list of 83 that are not loading. I really do not see any issue in the data but I am convinced that the issue is most likely in the data in the Docs content and my eyes are not trained in xml to be able to spot the issue. I would attach the file itself here but don’t see a way to share it for you to take a look.
Here
Docs Title Docs Slug Docs Content Featured Image Category Name Category Slug Knowledge Base Knowledge Base Slug Status
Yuga Yuga Ke Avatara Sai Rama Sai Krishna Sai Baba yuga-yuga-ke-avatara-sai-rama-sai-krishna-sai-baba Yuga Yuga Ke Avatara Sai Rama Sai Krishna Sai Baba
Baba Sai Baba Baba Sai Baba ( Yuga Yuga … )
Allah Yesu Nanak Sai
Buddha Zohrashtra Mahavira Sai
Ram Rahim Jai Ram Rahim Jai Ram Rahim Jai Ram (2)
----------- Bhajan Book bhajan-book publish
Yuga Avatara Parthi Vihara Hari Narayana Om yuga-avatara-parthi-vihara-hari-narayana-om Yuga Avatara Parthi Vihara Hari Narayana Om
Paramananda Satchidananda Sri Sai Shankara Om
Parama Dayakara Paapa Samhara Vibhuti Sundara Om( Paramananda Satchidananda … )
Shirdi Pureeshwara Parthi Pureeshwara Prema Sayeeshwara Om( Paramananda Satchidananda … )
Sri sai sankara Om
----------- Bhajan Book bhajan-book publish
Vishwadhari Shiva Avatari vishwadhari-shiva-avatari Vishwadhari Shiva Avatari
Sai Shankara Namo Namo ( Vishwadhari Shiva … )
Mathura Natha Narayana Hari
Sai Shankara Namo Namo (Sathya) (2)
----------- Bhajan Book bhajan-book publish
Vighneshwara Vinayaka vighneshwara-vinayaka Vighneshwara Vinayaka
Vishwadhara Namostuthey
Namostuthey Namostuthey ( Vishwadhara … )
Suramuni Vanditha Vinayaka
Bhava Bhaya Nasha Vinayaka
Sharanam Sharanam Vinayaka (2)
----------- Bhajan Book bhajan-book publish
Vidya Dayini Bhagavathi vidya-dayini-bhagavathi Vidya Dayini Bhagavathi
Namo Namo Namo Sai Narayani ( Vidya Dayini … )
Chinmaya Roopini Naada Swaroopini ( Namo Namo … )
----------- Bhajan Book bhajan-book publish
Varuvai Varuvai Varuvai Amma varuvai-varuvai-varuvai-amma Varuvai Varuvai Varuvai Amma
Thiruve Uruvai Varuvai Amma
Irulai Neekkida Varuvai Amma
Undan Arulai Pozhindhidu Sai Amma ( Varuvai Varuvai … )
Kalyani Karumari Kamakshi Niye
Mahalakshmi Matangi Meenakshi Niye
Varalakshmi Varahi Visalakshi Niye
Ulagalum Maye Prashanthi Thaye
Amma Amma Amma Amma
----------- Bhajan Book bhajan-book publishI am still stuck with not being able to import the 83 records despite moving the data over to a new template.
Hi webmastergopi ,
Thanks for sharing the details. It seems that there is an issue with the XML file that you are trying to insert. Will you please provide us the CSV/XML file for these docs so that I can check and assist you?
I look forward to hearing from you.
Thank you.Dear Amit, you are correct the document content field where I had the xml had some special character on some of these rows. I was able to import the remaining records as well. Thank you for all the help
Hi webmastergopi ,
Thank you so much for letting us know the update. I am so glad to know that your issue is resolved.
Also, Thank you so much for providing us with such a nice review. It will boost us to serve more.Please feel free to reach us if you need further assistance or have queries regarding our any plugins and we will assist you.
Thank you.
Have a good day! 😊 -
This reply was modified 1 year, 5 months ago by
The topic ‘Importing documents preformatted using file import feature’ is closed to new replies.