Skip to content

Commit

Permalink
Books Updates
Browse files Browse the repository at this point in the history
  • Loading branch information
franqsbepop committed Jan 3, 2025
1 parent dce9e6e commit c239c57
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 22 deletions.
41 changes: 23 additions & 18 deletions book_reviews/list.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,27 +26,32 @@ <h1>Book Reviews</h1>
<section class="book-list">
<?php
$csv_file = dirname(__FILE__) . '/goodreads_library_export.csv';
$csv = array_map('str_getcsv', file($csv_file));
array_shift($csv); // Remove header row

foreach ($csv as $row) {
$title = $row[1];
$author = $row[3];
$rating = $row[7];
$review = $row[19];
$shelf = $row[18]; // Exclusive Shelf column
$original_publication_year = $row[12]; // Assuming Original Publication Year is in column 13
if (!file_exists($csv_file) || !is_readable($csv_file)) {
echo "<p>Error: CSV file not found or unreadable.</p>";
} else {
$csv = array_map('str_getcsv', file($csv_file));
array_shift($csv); // Remove header row

echo "<article class='book-review'>";
echo "<h2>$title</h2>";
echo "<p>Author: $author</p>";
echo "<p>Rating: $rating</p>";
echo "<p>Shelf: $shelf</p>";
echo "<p>Original Publication Year: $original_publication_year</p>";
if (!empty($review)) {
echo "<p>Review: $review</p>";
foreach ($csv as $row) {
$title = htmlspecialchars($row[1]);
$author = htmlspecialchars($row[3]);
$rating = htmlspecialchars($row[7]);
$review = htmlspecialchars($row[19]);
$shelf = htmlspecialchars($row[18]);
$original_publication_year = htmlspecialchars($row[12]);

echo "<article class='book-review'>";
echo "<h2>$title</h2>";
echo "<p>Author: $author</p>";
echo "<p>Rating: $rating</p>";
echo "<p>Shelf: $shelf</p>";
echo "<p>Original Publication Year: $original_publication_year</p>";
if (!empty($review)) {
echo "<p>Review: $review</p>";
}
echo "</article>";
}
echo "</article>";
}
?>
</section>
Expand Down
6 changes: 3 additions & 3 deletions posts/Post8.html
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,9 @@ <h2>Ethical Implications of Finance in Von Neumann Universes</h2>
<h3>References</h3>
<ol>
<li id="ref1"><a href="https://plato.stanford.edu/entries/ethics-finance/">O'Neill, M. (2021). Ethics in Finance. Stanford Encyclopedia of Philosophy.</a></li>
<li id="ref2"><a href="https://www.jstor.org/stable/j.ctt7s3kd">MacKenzie, D. (2006). An Engine, Not a Camera: How Financial Models Shape Markets. MIT Press.</a></li>
<li id="ref3"><a href="https://www.cambridge.org/core/books/ethics-of-banking/5B8B0DB45F1D24A664C051A6D0450F39">Herzog, L. (2019). The Ethics of Banking: From Von Neumann to Contemporary Finance. Cambridge University Press.</a></li>
<li id="ref4"><a href="https://link.springer.com/article/10.1007/s10551-015-2848-2">Angel, J., & McCabe, D. (2013). Ethical Standards for Computing Professionals in Finance. Journal of Business Ethics.</a></li>
<li id="ref2"><a href="https://www.jstor.org/stable/45106430">Herzog, L. (2021). Professional Ethics in Banking and the Logic of "Integrated Situations": Aligning Responsibilities, Recognition, and Incentives. JSTOR.</a></li>
<li id="ref3"><a href="https://www.cambridge.org/core/journals/business-ethics-quarterly/article/abs/introduction-game-theory-and-business-ethics/87E60879CD6A464C9F8B67F6C69E60D7">Vanderschraaf, P. (2015). Introduction: Game Theory and Business Ethics. Business Ethics Quarterly. Published online by Cambridge University Press: 23 January 2015.</a></li>
<li id="ref4"><a href="https://www.jstor.org/stable/23433913?seq=4">Angel, J. J., & McCabe, D. (2013). Ethical Standards for Stockbrokers: Fiduciary or Suitability? Journal of Business Ethics.</a></li>
</ol>
</section>
</article>
Expand Down
2 changes: 1 addition & 1 deletion posts/post3.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ <h2>

<main>
<article>
<h2>Reducing Bias in education evaluation trought improved assessment systems and methodologies</h2>
<h2>Reducing bias in education evaluation trought improved assessment systems and methodologies</h2>
<p>Date: November 20, 2024</p>

<p>In recent years, there has been growing concern about bias in higher education evaluation systems. This post explores how improved assessment methodologies can help reduce inequality and provide more accurate measures of student performance.</p>
Expand Down

0 comments on commit c239c57

Please sign in to comment.