Comments (4)
Yes, it works!!
Thank you
from voltaire.
Could this code here be used in place of your existing for loop in ExportIndex.js? It should fix the issue provided there are no bugs. The only problem that I can see is that it will output a page break on the first execution but that can be fixed easily. Sadly can't test because I have had a ton of trouble trying to replicate the configure and set up the project locally (probably because Windows).
var curChar = "";
var curHeader = "";
for (let item in tmpList) {
var curTitle = tmpList[item].title.value.trim();
if (typeof curTitle == 'string') {
curChar = curTitle.at(0).toLowerCase();
if(!(curChar.match(/[a-z]/i))) curChar = "#"; // Sets header to '#' if character is not a through z
if (curChar !== curHeader) {
curHeader = curChar;
tmpList2.push({
title: {__html: "{{pagebreak}}<center><span class='dex-heading'>" + curHeader + curHeader.toUpperCase() + "</span></center>"},
description: "",
page: "",
book: ""
});
}
tmpList2.push({
title: {__html: tmpList[item].title.value},
description: tmpList[item].description.value,
page: "[b" + tmpList[item].book.value + "/p" + tmpList[item].page.value +"]",
book: tmpList[item].book.value
});
}
}
from voltaire.
I am having the same issue I tried to create an entry for the letter 'i' alone but no luck...
I think I gonna do it manually :)
from voltaire.
I am having the same issue I tried to create an entry for the letter 'i' alone but no luck...
I think I gonna do it manually :)
Actually my guess is that you're missing the letters G and H. Let me know if that helps! Thanks for using the tool and good luck on your exam!
from voltaire.
Related Issues (20)
- Can't login using Gmail Authentication HOT 1
- Index's content got refreshed and reset to blank index
- all items lost on index after hibernation
- All items are lost if you import CSV HOT 1
- ALL MY WORK IS GONE HOT 9
- Requirements for local install HOT 2
- Generated Index no Z words HOT 2
- When I export it does not export anything that starts with non letters. HOT 1
- Lost previous indexed data due to connection cut
- Import Broken HOT 2
- login infinite loop HOT 1
- Authentication broken - cannot log in or access on Chrome or Firefox HOT 1
- Feature request: add AppleID sign-in or local application based login HOT 1
- import csv HOT 3
- FOR500 Voltaire Index Does not populate when opening
- Keep getting redirected to the homepage when trying to log in
- Can't open page because address is invalid... HOT 7
- Feature request: confirmation message before deleting an index
- Lower Case Titles Not Observed
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from voltaire.