MarcRyan commited on
Commit
10a4cdf
·
verified ·
1 Parent(s): bfab2c7

Add 2 files

Browse files
Files changed (2) hide show
  1. index.html +114 -124
  2. prompts.txt +2 -1
index.html CHANGED
@@ -445,6 +445,16 @@
445
  color: transparent;
446
  text-shadow: 0 0 10px rgba(255,215,0,0.3);
447
  }
 
 
 
 
 
 
 
 
 
 
448
  </style>
449
  </head>
450
  <body>
@@ -455,10 +465,10 @@
455
 
456
  <div class="z-10 px-6">
457
  <h1 class="title text-6xl md:text-8xl font-bold mb-6">
458
- <span class="gold-text">GOLDEN AGE</span>
459
- <span class="block text-5xl md:text-7xl mt-4 gold-text">CINEMA</span>
460
  </h1>
461
- <p class="text-xl md:text-2xl mb-8 max-w-2xl mx-auto tracking-wider font-light">A curated collection of timeless Art Deco era masterpieces</p>
462
  <div class="flex flex-col sm:flex-row justify-center space-y-4 sm:space-y-0 sm:space-x-4">
463
  <button id="featuredBtn" class="golden-btn px-8 py-3 rounded-full font-semibold hover:scale-105 transition-transform duration-300 shadow-lg hover:shadow-xl">
464
  <i class="fas fa-star mr-2"></i> Featured Films
@@ -524,21 +534,26 @@
524
  <div class="max-w-6xl mx-auto relative">
525
  <div class="text-center mb-16">
526
  <h2 class="title text-4xl md:text-5xl font-bold mb-4">
527
- <span class="gold-text">ACADEMY</span>
528
  <span class="text-platinum-200">ARCHIVES</span>
529
  </h2>
530
  <div class="art-deco-divider max-w-md mx-auto"></div>
531
- <p class="mt-6 max-w-2xl mx-auto font-light">Our curated selection of timeless classics from the Golden Age of Cinema</p>
532
  </div>
533
 
534
  <div class="marquee mb-8">
535
  <div class="marquee-content">
536
- NOW PLAYING: THE GENERAL (1926) • METROPOLIS (1927) • CITY LIGHTS (1931) • GONE WITH THE WIND (1939) • CASABLANCA (1942) • CITIZEN KANE (1941) • SINGIN' IN THE RAIN (1952) • SOME LIKE IT HOT (1959) •
537
  </div>
538
  </div>
539
 
540
- <div class="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-8" id="movieGrid">
541
- <!-- Movies will be loaded here -->
 
 
 
 
 
542
  </div>
543
  </div>
544
  </section>
@@ -558,9 +573,9 @@
558
  <div class="grid md:grid-cols-2 gap-12 items-center">
559
  <div class="relative art-deco-border glow-effect p-1">
560
  <div class="bg-black p-8 h-full">
561
- <h3 class="text-3xl font-semibold mb-6 gold-text">Preserving Film History</h3>
562
- <p class="text-lg leading-relaxed mb-6 font-light">Golden Age Cinema is dedicated to preserving and showcasing classic films from the golden age of Hollywood and beyond. Our collection features rare and public domain films from the Internet Archive, carefully curated for film enthusiasts.</p>
563
- <p class="text-lg leading-relaxed font-light">Experience cinema as it was meant to be seen - on our virtual grand theater screen with authentic vintage atmosphere. From silent films to noir classics, we bring history to life.</p>
564
  </div>
565
  </div>
566
  <div class="relative art-deco-border glow-effect p-1">
@@ -578,7 +593,7 @@
578
  <footer class="py-12 px-6 bg-black bg-opacity-90 text-center relative">
579
  <div class="art-deco-pattern"></div>
580
  <div class="max-w-4xl mx-auto relative">
581
- <h3 class="title text-2xl font-semibold mb-6 gold-text">GOLDEN AGE CINEMA</h3>
582
  <div class="flex justify-center space-x-6 mb-8">
583
  <a href="#" class="text-2xl hover:text-amber-400 transition-colors duration-300"><i class="fab fa-twitter"></i></a>
584
  <a href="#" class="text-2xl hover:text-amber-400 transition-colors duration-300"><i class="fab fa-facebook"></i></a>
@@ -591,102 +606,85 @@
591
  </footer>
592
 
593
  <script>
594
- // Sample movie data (in a real app, this would come from RSS feed)
595
- const movies = [
596
- {
597
- title: "The General",
598
- year: "1926",
599
- description: "Buster Keaton's classic silent comedy about a train engineer pursuing his beloved locomotive.",
600
- archiveUrl: "https://archive.org/embed/the-general-1926_202111",
601
- director: "Buster Keaton, Clyde Bruckman",
602
- runtime: "1h 47m",
603
- awards: ["Academy Award Nominee"],
604
- oscarWinner: false
605
- },
606
- {
607
- title: "Metropolis",
608
- year: "1927",
609
- description: "Fritz Lang's groundbreaking sci-fi silent film about class struggle in a futuristic city.",
610
- archiveUrl: "https://archive.org/embed/metropolis-1927_202110",
611
- director: "Fritz Lang",
612
- runtime: "2h 33m",
613
- awards: ["Academy Award Nominee"],
614
- oscarWinner: false
615
- },
616
- {
617
- title: "City Lights",
618
- year: "1931",
619
- description: "Charlie Chaplin's masterpiece about the Tramp who falls in love with a blind flower girl.",
620
- archiveUrl: "https://archive.org/embed/city-lights-1931_202110",
621
- director: "Charlie Chaplin",
622
- runtime: "1h 27m",
623
- awards: ["Academy Award Nominee"],
624
- oscarWinner: false
625
- },
626
- {
627
- title: "Casablanca",
628
- year: "1942",
629
- description: "Humphrey Bogart and Ingrid Bergman star in this timeless wartime romance.",
630
- archiveUrl: "https://archive.org/embed/casablanca_202108",
631
- director: "Michael Curtiz",
632
- runtime: "1h 42m",
633
- awards: ["Academy Award Winner", "Best Picture"],
634
- oscarWinner: true
635
- },
636
- {
637
- title: "Citizen Kane",
638
- year: "1941",
639
- description: "Orson Welles' revolutionary drama about the life of a newspaper tycoon.",
640
- archiveUrl: "https://archive.org/embed/citizen-kane_202108",
641
- director: "Orson Welles",
642
- runtime: "1h 59m",
643
- awards: ["Academy Award Winner", "Best Original Screenplay"],
644
- oscarWinner: true
645
- },
646
- {
647
- title: "Gone With The Wind",
648
- year: "1939",
649
- description: "Epic historical romance set against the backdrop of the American Civil War.",
650
- archiveUrl: "https://archive.org/embed/gone-with-the-wind_202110",
651
- director: "Victor Fleming",
652
- runtime: "3h 58m",
653
- awards: ["Academy Award Winner", "Best Picture"],
654
- oscarWinner: true
655
- },
656
- {
657
- title: "Singin' in the Rain",
658
- year: "1952",
659
- description: "Gene Kelly stars in this iconic musical about Hollywood's transition from silent films to talkies.",
660
- archiveUrl: "https://archive.org/embed/singin-in-the-rain_202110",
661
- director: "Gene Kelly, Stanley Donen",
662
- runtime: "1h 43m",
663
- awards: ["Academy Award Nominee"],
664
- oscarWinner: false
665
- },
666
- {
667
- title: "Sunset Boulevard",
668
- year: "1950",
669
- description: "Dark Hollywood tale about a faded silent film star and the young screenwriter she draws into her fantasy world.",
670
- archiveUrl: "https://archive.org/embed/sunset-boulevard_202110",
671
- director: "Billy Wilder",
672
- runtime: "1h 50m",
673
- awards: ["Academy Award Winner", "Best Original Screenplay"],
674
- oscarWinner: true
675
- },
676
- {
677
- title: "Some Like It Hot",
678
- year: "1959",
679
- description: "Marilyn Monroe, Tony Curtis and Jack Lemmon star in this classic comedy about two musicians who disguise themselves as women.",
680
- archiveUrl: "https://archive.org/embed/some-like-it-hot_202110",
681
- director: "Billy Wilder",
682
- runtime: "2h 1m",
683
- awards: ["Academy Award Winner", "Best Costume Design"],
684
- oscarWinner: true
685
  }
686
- ];
687
 
688
- // Load movies into grid
689
- function loadMovies() {
690
  const movieGrid = document.getElementById('movieGrid');
691
  movieGrid.innerHTML = '';
692
 
@@ -698,20 +696,13 @@
698
  <div class="flex justify-between items-start mb-4">
699
  <div>
700
  <h3 class="text-2xl font-bold mb-1 gold-text">${movie.title}</h3>
701
- <p class="text-sm text-gray-400">${movie.year} • ${movie.runtime}</p>
702
  </div>
703
- ${movie.oscarWinner ? '<div class="oscar-badge"><i class="fas fa-trophy"></i></div>' : ''}
704
  </div>
705
 
706
  <div class="art-deco-divider my-4"></div>
707
 
708
- <p class="text-gray-300 mb-4 flex-grow font-light">${movie.description}</p>
709
-
710
- <div class="mt-auto">
711
- ${movie.awards.map(award =>
712
- `<span class="inline-block bg-gray-800 text-amber-300 text-xs px-2 py-1 rounded mr-2 mb-2">${award}</span>`
713
- ).join('')}
714
- </div>
715
 
716
  <button class="play-btn mt-6 golden-btn px-4 py-2 rounded text-sm font-semibold transition-colors duration-300 w-full" data-index="${index}">
717
  <i class="fas fa-play mr-1"></i> Play Film
@@ -723,8 +714,7 @@
723
  }
724
 
725
  // Play selected movie
726
- function playMovie(movieIndex) {
727
- const movie = movies[movieIndex];
728
  const playerContainer = document.getElementById('playerContainer');
729
 
730
  // Open curtains
@@ -745,11 +735,10 @@
745
 
746
  // Update marquee
747
  document.querySelector('.marquee-content').textContent =
748
- `NOW PLAYING: ${movie.title.toUpperCase()} (${movie.year}) • DIRECTED BY ${movie.director.toUpperCase()} • ${movie.awards.join(" • ")}`;
749
 
750
  // Highlight selected movie card
751
  document.querySelectorAll('.movie-card').forEach(card => card.classList.remove('active'));
752
- document.querySelectorAll('.movie-card')[movieIndex].classList.add('active');
753
 
754
  // Scroll to theater
755
  document.querySelector('.theater-screen').scrollIntoView({ behavior: 'smooth' });
@@ -786,15 +775,16 @@
786
  }
787
 
788
  // Initialize
789
- document.addEventListener('DOMContentLoaded', () => {
790
- loadMovies();
 
791
 
792
  // Play movie when button clicked
793
  document.addEventListener('click', (e) => {
794
  if (e.target.classList.contains('play-btn') || e.target.closest('.play-btn')) {
795
  const btn = e.target.classList.contains('play-btn') ? e.target : e.target.closest('.play-btn');
796
  const movieIndex = btn.getAttribute('data-index');
797
- playMovie(movieIndex);
798
  }
799
 
800
  // Fullscreen button
@@ -813,9 +803,9 @@
813
  }
814
 
815
  // Random film button
816
- if (e.target.id === 'randomBtn' || e.target.closest('#randomBtn')) {
817
  const randomIndex = Math.floor(Math.random() * movies.length);
818
- playMovie(randomIndex);
819
  }
820
  });
821
 
 
445
  color: transparent;
446
  text-shadow: 0 0 10px rgba(255,215,0,0.3);
447
  }
448
+
449
+ .loading-spinner {
450
+ border: 4px solid rgba(255, 215, 0, 0.3);
451
+ border-radius: 50%;
452
+ border-top: 4px solid var(--gold);
453
+ width: 40px;
454
+ height: 40px;
455
+ animation: spin 1s linear infinite;
456
+ margin: 20px auto;
457
+ }
458
  </style>
459
  </head>
460
  <body>
 
465
 
466
  <div class="z-10 px-6">
467
  <h1 class="title text-6xl md:text-8xl font-bold mb-6">
468
+ <span class="gold-text">COLORIZED</span>
469
+ <span class="block text-5xl md:text-7xl mt-4 gold-text">CLASSICS</span>
470
  </h1>
471
+ <p class="text-xl md:text-2xl mb-8 max-w-2xl mx-auto tracking-wider font-light">A curated collection of beautifully colorized classic films from the Internet Archive</p>
472
  <div class="flex flex-col sm:flex-row justify-center space-y-4 sm:space-y-0 sm:space-x-4">
473
  <button id="featuredBtn" class="golden-btn px-8 py-3 rounded-full font-semibold hover:scale-105 transition-transform duration-300 shadow-lg hover:shadow-xl">
474
  <i class="fas fa-star mr-2"></i> Featured Films
 
534
  <div class="max-w-6xl mx-auto relative">
535
  <div class="text-center mb-16">
536
  <h2 class="title text-4xl md:text-5xl font-bold mb-4">
537
+ <span class="gold-text">COLORIZED</span>
538
  <span class="text-platinum-200">ARCHIVES</span>
539
  </h2>
540
  <div class="art-deco-divider max-w-md mx-auto"></div>
541
+ <p class="mt-6 max-w-2xl mx-auto font-light">Our curated selection of colorized classics from the Internet Archive's collection</p>
542
  </div>
543
 
544
  <div class="marquee mb-8">
545
  <div class="marquee-content">
546
+ NOW PLAYING: CLASSIC FILMS IN STUNNING COLOR • FROM THE INTERNET ARCHIVE'S COLORIZED COLLECTION • EXPERIENCE HISTORY IN VIBRANT HUES •
547
  </div>
548
  </div>
549
 
550
+ <div id="loadingContainer" class="text-center py-12">
551
+ <div class="loading-spinner"></div>
552
+ <p class="text-xl font-light">Loading colorized classics...</p>
553
+ </div>
554
+
555
+ <div class="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-8 hidden" id="movieGrid">
556
+ <!-- Movies will be loaded here from RSS feed -->
557
  </div>
558
  </div>
559
  </section>
 
573
  <div class="grid md:grid-cols-2 gap-12 items-center">
574
  <div class="relative art-deco-border glow-effect p-1">
575
  <div class="bg-black p-8 h-full">
576
+ <h3 class="text-3xl font-semibold mb-6 gold-text">Colorized Classics</h3>
577
+ <p class="text-lg leading-relaxed mb-6 font-light">Our collection features classic films that have been carefully colorized to bring new life to these cinematic treasures. The colorization process allows modern audiences to experience these films in a fresh way while preserving their historical significance.</p>
578
+ <p class="text-lg leading-relaxed font-light">All films are sourced from the Internet Archive's colorized movies collection, which includes public domain films that have been digitally enhanced with color while maintaining the original film's integrity.</p>
579
  </div>
580
  </div>
581
  <div class="relative art-deco-border glow-effect p-1">
 
593
  <footer class="py-12 px-6 bg-black bg-opacity-90 text-center relative">
594
  <div class="art-deco-pattern"></div>
595
  <div class="max-w-4xl mx-auto relative">
596
+ <h3 class="title text-2xl font-semibold mb-6 gold-text">COLORIZED CLASSICS</h3>
597
  <div class="flex justify-center space-x-6 mb-8">
598
  <a href="#" class="text-2xl hover:text-amber-400 transition-colors duration-300"><i class="fab fa-twitter"></i></a>
599
  <a href="#" class="text-2xl hover:text-amber-400 transition-colors duration-300"><i class="fab fa-facebook"></i></a>
 
606
  </footer>
607
 
608
  <script>
609
+ // RSS feed URL for colorized movies
610
+ const RSS_FEED_URL = 'https://archive.org/services/collection-rss.php?collection=colorized-movies';
611
+
612
+ // Parse XML to JSON
613
+ function parseXmlToJson(xml) {
614
+ const items = xml.querySelectorAll('item');
615
+ const movies = [];
616
+
617
+ items.forEach(item => {
618
+ const title = item.querySelector('title').textContent;
619
+ const link = item.querySelector('link').textContent;
620
+ const description = item.querySelector('description').textContent;
621
+ const pubDate = item.querySelector('pubDate')?.textContent || '';
622
+
623
+ // Extract year from title if possible
624
+ const yearMatch = title.match(/(19\d{2}|20\d{2})/);
625
+ const year = yearMatch ? yearMatch[0] : '';
626
+
627
+ // Clean up title by removing year and common suffixes
628
+ let cleanTitle = title.replace(/\(.*\)/g, '').trim();
629
+ cleanTitle = cleanTitle.replace(/\[.*\]/g, '').trim();
630
+ cleanTitle = cleanTitle.replace(/\d{4}/g, '').trim();
631
+
632
+ // Extract runtime if available in description
633
+ let runtime = '';
634
+ const runtimeMatch = description.match(/(\d+)\s*min(?:ute)?s?/i);
635
+ if (runtimeMatch) {
636
+ runtime = `${runtimeMatch[1]}m`;
637
+ }
638
+
639
+ movies.push({
640
+ title: cleanTitle,
641
+ year: year,
642
+ description: description,
643
+ archiveUrl: link,
644
+ runtime: runtime,
645
+ pubDate: pubDate,
646
+ originalTitle: title
647
+ });
648
+ });
649
+
650
+ return movies;
651
+ }
652
+
653
+ // Load movies from RSS feed
654
+ async function loadMoviesFromRss() {
655
+ try {
656
+ const response = await fetch(`https://api.allorigins.win/get?url=${encodeURIComponent(RSS_FEED_URL)}`);
657
+ const data = await response.json();
658
+
659
+ if (data.contents) {
660
+ const parser = new DOMParser();
661
+ const xmlDoc = parser.parseFromString(data.contents, "text/xml");
662
+ const movies = parseXmlToJson(xmlDoc);
663
+
664
+ // Hide loading spinner and show grid
665
+ document.getElementById('loadingContainer').classList.add('hidden');
666
+ document.getElementById('movieGrid').classList.remove('hidden');
667
+
668
+ // Display movies
669
+ displayMovies(movies);
670
+ return movies;
671
+ } else {
672
+ throw new Error('No contents in response');
673
+ }
674
+ } catch (error) {
675
+ console.error('Error loading RSS feed:', error);
676
+ document.getElementById('loadingContainer').innerHTML = `
677
+ <div class="text-red-400">
678
+ <i class="fas fa-exclamation-triangle text-4xl mb-4"></i>
679
+ <p class="text-xl">Failed to load movies. Please try again later.</p>
680
+ </div>
681
+ `;
682
+ return [];
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
683
  }
684
+ }
685
 
686
+ // Display movies in grid
687
+ function displayMovies(movies) {
688
  const movieGrid = document.getElementById('movieGrid');
689
  movieGrid.innerHTML = '';
690
 
 
696
  <div class="flex justify-between items-start mb-4">
697
  <div>
698
  <h3 class="text-2xl font-bold mb-1 gold-text">${movie.title}</h3>
699
+ <p class="text-sm text-gray-400">${movie.year ? movie.year + ' • ' : ''}${movie.runtime || 'Runtime not specified'}</p>
700
  </div>
 
701
  </div>
702
 
703
  <div class="art-deco-divider my-4"></div>
704
 
705
+ <p class="text-gray-300 mb-4 flex-grow font-light">${movie.description || 'No description available'}</p>
 
 
 
 
 
 
706
 
707
  <button class="play-btn mt-6 golden-btn px-4 py-2 rounded text-sm font-semibold transition-colors duration-300 w-full" data-index="${index}">
708
  <i class="fas fa-play mr-1"></i> Play Film
 
714
  }
715
 
716
  // Play selected movie
717
+ function playMovie(movie) {
 
718
  const playerContainer = document.getElementById('playerContainer');
719
 
720
  // Open curtains
 
735
 
736
  // Update marquee
737
  document.querySelector('.marquee-content').textContent =
738
+ `NOW PLAYING: ${movie.title.toUpperCase()} ${movie.year ? '(' + movie.year + ')' : ''} • FROM THE INTERNET ARCHIVE'S COLORIZED COLLECTION`;
739
 
740
  // Highlight selected movie card
741
  document.querySelectorAll('.movie-card').forEach(card => card.classList.remove('active'));
 
742
 
743
  // Scroll to theater
744
  document.querySelector('.theater-screen').scrollIntoView({ behavior: 'smooth' });
 
775
  }
776
 
777
  // Initialize
778
+ document.addEventListener('DOMContentLoaded', async () => {
779
+ // Load movies from RSS feed
780
+ const movies = await loadMoviesFromRss();
781
 
782
  // Play movie when button clicked
783
  document.addEventListener('click', (e) => {
784
  if (e.target.classList.contains('play-btn') || e.target.closest('.play-btn')) {
785
  const btn = e.target.classList.contains('play-btn') ? e.target : e.target.closest('.play-btn');
786
  const movieIndex = btn.getAttribute('data-index');
787
+ playMovie(movies[movieIndex]);
788
  }
789
 
790
  // Fullscreen button
 
803
  }
804
 
805
  // Random film button
806
+ if (e.target.id === 'randomBtn' || e.target.closest('#randomBtn') && movies.length > 0) {
807
  const randomIndex = Math.floor(Math.random() * movies.length);
808
+ playMovie(movies[randomIndex]);
809
  }
810
  });
811
 
prompts.txt CHANGED
@@ -1,4 +1,5 @@
1
  create epic cinematic engagement
2
  create epic cinema
3
  turn this into a website that uses this style and effect to playback classic movies from the internet archives that are movie choices populated via rss feed are picked and played on a giant screen wide xxxxl card that looks like a movie theater screen from the 1920's
4
- remove the images from the title cards and give the fonts and borders and art-deco-great-gatsby styled aglowed up rizzed out acadamey awards styled artistc redesign
 
 
1
  create epic cinematic engagement
2
  create epic cinema
3
  turn this into a website that uses this style and effect to playback classic movies from the internet archives that are movie choices populated via rss feed are picked and played on a giant screen wide xxxxl card that looks like a movie theater screen from the 1920's
4
+ remove the images from the title cards and give the fonts and borders and art-deco-great-gatsby styled aglowed up rizzed out acadamey awards styled artistc redesign
5
+ replace the current rss feed use this rss feed here - https://archive.org/services/collection-rss.php?collection=colorized-movies