Commit 6856f7cd authored by Jack Stupple's avatar Jack Stupple

update resources import

parent 8a435e3d
......@@ -63,15 +63,21 @@ class ImportResources extends Command
if (!empty($_resource['uk asset'])) {
$language = $this->getLanguageFor('uk');
$resource_link = $_resource['uk asset'];
} else if (!empty($_resource['fr asset'])) {
$language = $this->getLanguageFor('fr');
$resource_link = $_resource['fr asset'];
} else if (!empty($_resource['nl asset'])) {
$language = $this->getLanguageFor('nl');
$resource_link = $_resource['nl asset'];
} else if (!empty($_resource['de asset'])) {
$language = $this->getLanguageFor('de');
$resource_link = $_resource['de asset'];
} else if (!empty($_resource['no asset'])) {
$language = $this->getLanguageFor('no');
$resource_link = $_resource['no asset'];
} else if (!empty($_resource['sl asset'])) {
$language = $this->getLanguageFor('sl');
$resource_link = $_resource['sl asset'];
} else {
$this->output->writeln("<comment>Could not determine language</comment> {$csv_row_number}");
continue;
}
// check for duplicates
......
RESOURCE GROUPS,CATEGORY,TITLE,UK ASSET,NL ASSET,FR ASSET
banking,Accounts,Types of bank accounts,http://readanddigest.com/different-types-of-bank-accounts/,https://www.wikifin.be/nl/themas/uw-dagelijks-geld/bankrekeningen/bankrekening,
budgeting,Savings,Learn about saving,https://en.wikipedia.org/wiki/Saving,https://no.wikipedia.org/wiki/Sparing,
budgeting,Savings,Learn about saving accounts,https://www.investopedia.com/terms/s/savingsaccount.asp?ad=dirN&qo=investopediaSiteSearch&qsrc=0&o=40186,,
loans,Interest rates,Learning about interest rates,https://www.investopedia.com/terms/i/interestrate.asp,,
banking,Debit cards,Store credit vs credit cards,https://www.investopedia.com/articles/pf/10/credit-card-debit-card.asp,,
loans,Interest,What is interest?,https://www.thebalance.com/what-is-interest-315436,,
budgeting,Phone deals,Comparing phone contracts,https://mobile-phones.confused.com,,
budgeting,Saving for a car,How to save for a car,https://www.nerdwallet.com/blog/finance/how-to-save-for-a-car/,,
budgeting,Saving for a car,Finance advice on buying a car,https://personal.natwest.com/personal/life-moments/buying-a-car.html,,
loans,Car repayments,Car repayment tips,https://www.thebalance.com/just-made-your-last-car-payment-start-paying-yourself-453779,,
budgeting,Budgeting,Learn about budgeting,https://www.practicalmoneyskills.com/learn/budgeting,,
budgeting,Phone deals,View mobile phone deals,https://www.mobilephonechecker.co.uk,https://www.phonearena.com/phones#/phones/sort/popular,
loans,Borrowing money,Borrowing and credit basics,https://www.moneyadviceservice.org.uk/en/articles/borrowing-and-credit-basics,,
loans,Borrowing money,Borrowing money and paying it back,https://www.youtube.com/watch?time_continue=1&v=IsZu0fjxR2U ,,
loans,Borrowing money,Calculating the cost of borrowing,https://www.moneyadviceservice.org.uk/en/articles/how-to-work-out-the-true-cost-of-borrowing,,
investments,Phone Depreciation,Learn about phone depreciation,https://atotaxrates.info/tax-deductions/ato-depreciation/depreciation-mobile-phone/,,
loans,Borrowing money,Personal loans and overdraft,https://www.moneyadviceservice.org.uk/en/articles/borrowing-and-credit-basics,,
loans,Borrowing money,The pros and cons of borrowing from friends / family ,https://www.moneyadviceservice.org.uk/en/articles/should-you-borrow-from-family-or-friends#pros-and-cons-of-borrowing-from-family-and-friends,,
banking,Cash,What is 'Cash'?,https://www.investopedia.com/terms/c/cash.asp?ad=dirN&qo=serpSearchTopBox&qsrc=1&o=40186,https://www.investopedia.com/articles/pf/08/pay-in-cash.asp?ad=dirN&qo=serpSearchTopBox&qsrc=1&o=40186,
investments,Phone Depreciation,Phone depreciation,https://priceonomics.com/phones/,,
investments,Startups,The pros and cons of crowdfunding,https://www.cnbc.com/2017/07/05/can-you-get-rich-by-investing-in-a-startup-how-to-do-it--and-the-pros-and-cons-of-crowdfunding.html,https://www.wikifin.be/nl/themas/sparen-en-beleggen/aandelen/wat-een-aandeel,
investments,Bonds,What is a Bond?,https://en.wikipedia.org/wiki/Bond_(finance),https://www.wikifin.be/nl/themas/sparen-en-beleggen/obligaties/wat-een-obligatie,
loans,Credit options,Credit options ,http://www.experian.co.uk/downloads/consumer/gettingCredit/gettingCreditDownload.pdf,,
loans,Borrowing money,Do you need to borrow money?,https://www.moneyadviceservice.org.uk/en/articles/do-you-need-to-borrow-money,,
loans,Credit cards,Learn about credit cards,https://en.wikipedia.org/wiki/Credit_card,,
loans,Loans,Learn about loans,https://en.wikipedia.org/wiki/Loan,https://www.laanekalkulator.no/,
loans,Payday loans,Learn about payday loans,https://www.moneyadviceservice.org.uk/en/payday-loans,,
banking,Store credit,Store credit vs credit cards,,,https://www.thebalance.com/store-credit-cards-are-different-from-credit-cards-960146
loans,Loans,The cost of your loan,https://www.moneyadviceservice.org.uk/en/tools/loan-calculator,,
loans,Mortgages,Mortgages - beginners guide,https://www.moneyadviceservice.org.uk/en/articles/mortgages-a-beginners-guide,,
investments,Retirement,Retirement advice,https://www.saga.co.uk/magazine/money/retirement,,
\ No newline at end of file
RESOURCE GROUPS,CATEGORY,TITLE,UK ASSET,NO ASSET,NL ASSET,DE ASSET,SL ASSET
banking,Accounts,Types of bank accounts,http://readanddigest.com/different-types-of-bank-accounts/,https://www.wikifin.be/nl/themas/uw-dagelijks-geld/bankrekeningen/bankrekening,,,
budgeting,Savings,Learn about saving,https://en.wikipedia.org/wiki/Saving,https://no.wikipedia.org/wiki/Sparing,,,
budgeting,Savings,Learn about saving accounts,https://www.investopedia.com/terms/s/savingsaccount.asp?ad=dirN&qo=investopediaSiteSearch&qsrc=0&o=40186,,,,
loans,Interest rates,Learning about interest rates,https://www.investopedia.com/terms/i/interestrate.asp,,,,
banking,Debit cards,Store credit vs credit cards,https://www.investopedia.com/articles/pf/10/credit-card-debit-card.asp,,,,
loans,Interest,What is interest?,https://www.thebalance.com/what-is-interest-315436,,,,
budgeting,Phone deals,Comparing phone contracts,https://mobile-phones.confused.com,,,,
budgeting,Saving for a car,How to save for a car,https://www.nerdwallet.com/blog/finance/how-to-save-for-a-car/,,,,
budgeting,Saving for a car,Finance advice on buying a car,https://personal.natwest.com/personal/life-moments/buying-a-car.html,,,,
loans,Car repayments,Car repayment tips,https://www.thebalance.com/just-made-your-last-car-payment-start-paying-yourself-453779,,,,
budgeting,Budgeting,Learn about budgeting,https://www.practicalmoneyskills.com/learn/budgeting,,,,
budgeting,Phone deals,View mobile phone deals,https://www.mobilephonechecker.co.uk,https://www.phonearena.com/phones#/phones/sort/popular,,,
loans,Borrowing money,Borrowing and credit basics,https://www.moneyadviceservice.org.uk/en/articles/borrowing-and-credit-basics,,,,
loans,Borrowing money,Borrowing money and paying it back,https://www.youtube.com/watch?time_continue=1&v=IsZu0fjxR2U ,,,,
loans,Borrowing money,Calculating the cost of borrowing,https://www.moneyadviceservice.org.uk/en/articles/how-to-work-out-the-true-cost-of-borrowing,,,,
investments,Phone Depreciation,Learn about phone depreciation,https://atotaxrates.info/tax-deductions/ato-depreciation/depreciation-mobile-phone/,,,,
loans,Borrowing money,Personal loans and overdraft,https://www.moneyadviceservice.org.uk/en/articles/borrowing-and-credit-basics,,,,
loans,Borrowing money,The pros and cons of borrowing from friends / family ,https://www.moneyadviceservice.org.uk/en/articles/should-you-borrow-from-family-or-friends#pros-and-cons-of-borrowing-from-family-and-friends,,,,
banking,Cash,What is 'Cash'?,https://www.investopedia.com/terms/c/cash.asp?ad=dirN&qo=serpSearchTopBox&qsrc=1&o=40186,https://www.investopedia.com/articles/pf/08/pay-in-cash.asp?ad=dirN&qo=serpSearchTopBox&qsrc=1&o=40186,,,
investments,Phone Depreciation,Phone depreciation,https://priceonomics.com/phones/,,,,
investments,Startups,The pros and cons of crowdfunding,https://www.cnbc.com/2017/07/05/can-you-get-rich-by-investing-in-a-startup-how-to-do-it--and-the-pros-and-cons-of-crowdfunding.html,https://www.wikifin.be/nl/themas/sparen-en-beleggen/aandelen/wat-een-aandeel,,,
investments,Bonds,What is a Bond?,https://en.wikipedia.org/wiki/Bond_(finance),https://www.wikifin.be/nl/themas/sparen-en-beleggen/obligaties/wat-een-obligatie,,,
loans,Credit options,Credit options ,http://www.experian.co.uk/downloads/consumer/gettingCredit/gettingCreditDownload.pdf,,,,
loans,Borrowing money,Do you need to borrow money?,https://www.moneyadviceservice.org.uk/en/articles/do-you-need-to-borrow-money,,,,
loans,Credit cards,Learn about credit cards,https://en.wikipedia.org/wiki/Credit_card,,,,
loans,Loans,Learn about loans,https://en.wikipedia.org/wiki/Loan,https://www.laanekalkulator.no/,,,
loans,Payday loans,Learn about payday loans,https://www.moneyadviceservice.org.uk/en/payday-loans,,,,
banking,Store credit,Store credit vs credit cards,,,,,
loans,Loans,The cost of your loan,https://www.moneyadviceservice.org.uk/en/tools/loan-calculator,,,,
loans,Mortgages,Mortgages - beginners guide,https://www.moneyadviceservice.org.uk/en/articles/mortgages-a-beginners-guide,,,,
investments,Retirement,Retirement advice,https://www.saga.co.uk/magazine/money/retirement,,,,
loans,loans,Debt consolidation,https://www.stepchange.org/debt-info/free-debt-consolidation.aspx,,,,
,,,,,,,
,,,,,,,
,,,,,,,
,,,,,,,
,,,,,,,
,,,,,,,
,,,,,,,
,,,,,,,
,,,,,,,
,,,,,,,
,,,,,,,
,,,https://www.practicalmoneyskills.com/learn/budgeting,,,,
,,,,,,,
,,,,,,,
,,,https://www.investopedia.com/terms/l/loan.asp,,,,
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment